Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Path does not update until I logout/log in
- X-seq: zsh-users 17461
- From: John <da_audiophile@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, Daniel Wallace <daniel.wallace@xxxxxxxxxx>, "zsh-users@xxxxxxx " <zsh-users@xxxxxxx>
- Subject: Re: Path does not update until I logout/log in
- Date: Tue, 4 Dec 2012 16:37:29 -0800 (PST)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1354667849; bh=2cwgLL8XGHTr6P5aTIvvyh+1FmWFkHdBlFa1jHYOe9o=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=4+oHYU88uwMLLdDt4klsGsx8KUBQ9LU/PEncjxXoEiPK0BeGNpqmOHR3LBSoaSjqW8Qi07EsEyBDDA5mIzbpihn6UIrIt0qfkr0dXVCwIBiYAmvhChQX0+PwUycecxWVHXY/1mzyJJPmBwKZqOy41L8t51dlxXIvKH6ogvuCe8s=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=d3Swe+16aKZrs/NykLqG20hMBcyVPmS28FmsS/sD71DaYc9P41Zj90h2qsSj+8cAsTZ1d3s+OKP8QLsYHre6h94GvSLfXTgnOvqSEQt7a/A72tKM3TWSa3tym2kGHpwALi/rTtx91ZZYplUEuUOEqnWyNDIdMWZ9lJS5GWQCnG4=;
- In-reply-to: <121204121044.ZM22391@torch.brasslantern.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <1354631592.83211.YahooMailNeo@web140005.mail.bf1.yahoo.com> <20121204153753.GG19774@Hailey> <1354645648.27886.YahooMailNeo@web140003.mail.bf1.yahoo.com> <121204121044.ZM22391@torch.brasslantern.com>
- Reply-to: John <da_audiophile@xxxxxxxxx>
Nice, thank you.
----- Original Message -----
> From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
> To: John <da_audiophile@xxxxxxxxx>; Daniel Wallace <daniel.wallace@xxxxxxxxxx>; "zsh-users@xxxxxxx " <zsh-users@xxxxxxx>
> Cc:
> Sent: Tuesday, December 4, 2012 3:10 PM
> Subject: Re: Path does not update until I logout/log in
>
> On Dec 4, 10:27am, John wrote:
> }
> } > zstyle ':completion:::::' completer _force_rehash _complete
> _approximate
> }
> } Thank you all for the replies and especially to Daniel for the above
> } which is working for me.
>
> One more clarification -- this:
>
> zstyle ':completion:*' rehash yes
>
> accomplishes the same thing as Daniel's _force_rehash, without requiring
> that you add a new function to your completer zstyle.
>
> I suppose there might be some middling-old versions of zsh that don't
> support the rehash style, in which case Daniel's solution would be a
> good workaround.
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author