From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: Re: PATCH: _unexpand
Date: Sun, 10 Jul 2005 16:20:10 +0000 [thread overview]
Message-ID: <1050710162010.ZM24203@candle.brasslantern.com> (raw)
In-Reply-To: <20050710061443.GA12208@ruby.cat.pdx.edu>
On Jul 9, 11:14pm, Travis Spencer wrote:
}
} I looked through the existing functions in the distribution, and I saw
} a function that looked pretty good -- _pick_variant.
} [...] I have the FSF's unexpand at the head of my path.
} I wanted to test it with the Sun version, so I reexported my PATH and
} rehashed. To my surprise, the tab completion still showed the GNU
} flags.
That may be because _pick_variant caches its results so that it doesn't
have to re-run the command every time you do a completion. It appears
from both of those typescripts as if you first tried a completion with
the gnu version, then changed your path and tried again. That won't
do the right thing; you have to try completion the very first time with
the version that you will always be using thereafter.
Try "unset _cmd_variant" right after you change your path, to clear the
_pick_variant cache.
next prev parent reply other threads:[~2005-07-10 16:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-10 1:18 Travis Spencer
2005-07-10 3:38 ` Bart Schaefer
2005-07-10 6:14 ` Travis Spencer
2005-07-10 16:20 ` Bart Schaefer [this message]
2005-07-11 0:52 ` Travis Spencer
2005-07-11 3:26 ` Bart Schaefer
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=1050710162010.ZM24203@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-workers@sunsite.dk \
/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).