changeset: 1956:b049921c3771
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Sun Feb 25 15:16:34 2007 -0500
summary: Get rid of config_which in the sh wmiirc.
diff -r 8f704c707daf -r b049921c3771 rc/wmiirc
--- a/rc/wmiirc Sun Feb 25 14:59:32 2007 -0500
+++ b/rc/wmiirc Sun Feb 25 15:16:34 2007 -0500
@@ -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 @@ Action() {
Action() {
action=\$1; shift
if [ -n "\$action" ]; then
- Action_\$action \$@ || \$(conf_which "\$action") \$@
+ Action_\$action \$@ || PATH=$WMII_CONFPATH \$action \$@
fi
}
Received on Sun Feb 25 2007 - 21:21:26 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:55 UTC