Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

dirstack with ksharrays



I found that `cd -<TAB>' doesn't work with ksharrays.
It is caused by the behaviour of dirstack parametar:

Z(2):akr@is27e1u11% Src/zsh -f
is27e1u11% cd /usr
is27e1u11% pushd /etc; pushd /usr; pushd /etc; pushd /usr
/etc /usr
/usr /etc /usr
/etc /usr /etc /usr
/usr /etc /usr /etc /usr
is27e1u11% print -l $dirstack
/etc
/usr
/etc
/usr
is27e1u11% setopt ksharrays
is27e1u11% print -l $dirstack
/etc
is27e1u11% 
-- 
Tanaka Akira



Messages sorted by: Reverse Date, Date, Thread, Author