Get rid of config_which in the sh wmiirc.

This commit is contained in:
Kris Maglione 2007-02-25 15:16:34 -05:00
parent 6aa67b638b
commit 82125e9e28
1 changed files with 1 additions and 5 deletions

View File

@ -141,10 +141,6 @@ actionlist() {
} | sort | uniq
}
conf_which () {
echo \$({export PATH="$WMII_CONFPATH:$PATH"; which \$1}) "\$@"
}
tagsmenu() {
wmiir ls /tag | sed "s|/||; /^sel\$/d" | $WMII_MENU
}
@ -152,7 +148,7 @@ tagsmenu() {
Action() {
action=\$1; shift
if [ -n "\$action" ]; then
Action_\$action \$@ || \$(conf_which "\$action") \$@
Action_\$action \$@ || PATH=$WMII_CONFPATH \$action \$@
fi
}