commit 82125e9e28926c8abd72cee94c4da2d34c1772f2 parent 6aa67b638b09dc33eb0be19ce010b3ef69586781 Author: Kris Maglione <jg@suckless.org> Date: Sun, 25 Feb 2007 15:16:34 -0500 Get rid of config_which in the sh wmiirc. Diffstat:
| rc/wmiirc | | | 6 | +----- |
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/rc/wmiirc b/rc/wmiirc @@ -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 }