mirror of https://github.com/0intro/wmii
Get rid of config_which in the sh wmiirc.
This commit is contained in:
parent
6aa67b638b
commit
82125e9e28
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue