When I have two directories and I cd
to aaa1
:
$~ ls
aaa1 aaa2
$~ cd aaa1
Now if I want to cd
to ../aaa2
and use completion:
$~/aaa1 cd ../a<TAB>
aaa1 aaa2
zsh is offering me same directory that I am in.
Is it possible to tell zsh completion to ignore the current directory in such situation, as it most likely makes no sense to change into same directory using cd ../aaa1
?