* Now substitution of the $HOME folder works (replaced by ~)
This commit is contained in:
parent
037654468d
commit
bf0e8c4628
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user