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

Re: cd - not expanding to dirs



On Nov 19,  5:43pm, zzapper wrote:
}
} [root@isx01linux03]/var# dirs
} /var /etc /var/www/html ~
} 
} autopushd is set
} 
} but
} 
} cd -<tab> does not expand to dirs
} 
} zsh 4.2.6 (x86_64-redhat-linux-gnu)

Are you sure you've run "compinit" ?

CentOS 5.x (i386 but that shouldn't matter):

[schaefer@pip2]~% echo $ZSH_VERSION 
4.2.6
[schaefer@pip2]/var/www/htdocs% dirs
/var/www/htdocs /etc /var ~
[schaefer@pip2]/var/www/htdocs% setopt autopushd 
[schaefer@pip2]/var/www/htdocs% cd -<TAB>
0 -- /home/schaefer
1 -- /var
2 -- /etc


(Actually autopushd is irrelevant to the completion.)

I see you're running a root shell --  perhaps compaudit objected to
something and didn't load the completions, or perhaps the zsh/parameter
module is not loaded?



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