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

~user completion in single quotes.



Z(4):akr@serein% Src/zsh -f                        
serein% bindkey -e; autoload -U compinit; compinit -D
serein% echo '~ro<TAB>
->
serein% echo '~root/

User names are completed even in single quotes.  I think it shouldn't.

serein% echo '~akr/zs<TAB>
->
serein% echo '~akr/zsh/    

serein% echo '$PWD/C<TAB
CVS/            ChangeLog       ChangeLog.3.0   Completion/     Config/

Hm. _path_files expands `~akr' and `$PWD' even in single quotes.
-- 
Tanaka Akira



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