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

Re: cd - not expanding to dirs



Bart Schaefer wrote in news:121119133528.ZM4445@xxxxxxxxxxxxxxxxxxxxxx:

> 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" ?
> 
> (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?
> 
Bart
Thanks -How embarrassing, because it's only a remote server I haven't 
bothered with a full setup - hence no compinit.
But how should I have known that "cd -" depended on this ? How should I have 
approached searching the doc? 



-- 
zzapper
http://zzapper.co.uk/ Technical Tips



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