* Now substitution of the $HOME folder works (replaced by ~)

This commit is contained in:
Julian Vetter 2014-11-10 14:01:30 +01:00
parent 037654468d
commit bf0e8c4628

View File

@ -18,10 +18,11 @@ function _term_list(){
local -a w
for SESSION in $(pidof zsh); do
w+=$(readlink -n /proc/${SESSION}/cwd)
PA=$(readlink -n /proc/${SESSION}/cwd)
w+=(${(D)PA})
done
compadd -a w
compadd -aQ w
}
zle -C term_list complete-word _generic