Properly grep out shell variables in config_whatis (so that it's possible to use ~/.wmii-3.5/status instead of Action-status).

This commit is contained in:
sqweek 2007-10-02 22:15:18 +08:00
parent 08f2f0cff8
commit f99d66b076
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ if(echo $0 | grep -s '(^|/)rc\.wmii\.local$') {
}
fn config_whatis {
prog = `{@{path=$confpath whatis $1} | grep -v '^fn|= ' || echo /dev/null}
prog = `{@{path=$confpath whatis $1} | grep -v '^fn|=' || echo /dev/null}
shift; echo $prog $*
}