zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: John <da_audiophile@yahoo.com>,
	Daniel Wallace <daniel.wallace@gatech.edu>,
	"zsh-users@zsh.org " <zsh-users@zsh.org>
Subject: Re: Path does not update until I logout/log in
Date: Tue, 04 Dec 2012 12:10:44 -0800	[thread overview]
Message-ID: <121204121044.ZM22391@torch.brasslantern.com> (raw)
In-Reply-To: <1354645648.27886.YahooMailNeo@web140003.mail.bf1.yahoo.com>

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.


  reply	other threads:[~2012-12-04 20:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-04 14:33 John
2012-12-04 15:35 ` Norbert Zeh
2012-12-04 16:25   ` Bart Schaefer
2012-12-04 15:38 ` Guillaume Brunerie
     [not found] ` <20121204153753.GG19774@Hailey>
2012-12-04 18:27   ` John
2012-12-04 20:10     ` Bart Schaefer [this message]
2012-12-05  0:37       ` John

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=121204121044.ZM22391@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=da_audiophile@yahoo.com \
    --cc=daniel.wallace@gatech.edu \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).