Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Tilde expansion and completion again
- X-seq: zsh-users 8165
- From: DervishD <zsh@xxxxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>
- Subject: Re: Tilde expansion and completion again
- Date: Thu, 4 Nov 2004 12:58:57 +0100
- Cc: Zsh Users <zsh-users@xxxxxxxxxx>
- In-reply-to: <11193.1099566059@xxxxxxx>
- Mail-followup-to: Peter Stephenson <pws@xxxxxxx>, Zsh Users <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: DervishD
- References: <20041104105225.GA23709@DervishD> <11193.1099566059@xxxxxxx>
Hi Peter :)
* Peter Stephenson <pws@xxxxxxx> dixit:
> > This is short: why aren't PWD and OLDPWD stored in $nameddirs
> > until a 'cd' command is issued? Why aren't the rest of parameters
> > whose value starts with a slash stored directly in $nameddirs
> > withouth the need to call 'hash -d'?
> setopt autonamedirs
> (you need to cd at least once afterwards for it to spot the change).
I had it set, and my problem is exactly that: I must issue a cd
once to get them stored :( That means that some of my completion code
won't work as expected if I don't do a cd :(
I'll do a 'cd .' in the completion widget or I'll make sure I
have done the 'hash -d' in my RC files. Thanks a lot for your help :))
Raúl Núñez de Arenas Coronado
--
Linux Registered User 88736
http://www.dervishd.net & http://www.pleyades.net/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author