From: Hannu Koivisto <azure@iki.fi>
To: "Bart Schaefer" <schaefer@brasslantern.com>
Cc: zsh-users@sunsite.dk
Subject: Re: zsh: correct 'sudo' to '_sudo' [nyae]?
Date: Mon, 07 Jan 2002 14:54:01 +0200 [thread overview]
Message-ID: <87itaecoeu.fsf@lynx.ionific.com> (raw)
In-Reply-To: <1020106030307.ZM7583@candle.brasslantern.com> ("Bart Schaefer"'s message of "Sun, 6 Jan 2002 03:03:07 +0000")
"Bart Schaefer" <schaefer@brasslantern.com> writes:
> On Dec 19, 11:00am, Hannu Koivisto wrote:
>}
>} I always get this message when I start a new shell (whether by
>} logging to a system or by saying "zsh" when I'm logged on) and try
>} to run sudo even though sudo is in path. rehash doesn't help, but
>} "which sudo" always fixes the problem. What could be the culprit?
>
> It's not surprising that "rehash" doesn't help, as all that does is
> empty the command hash table, and correction treats the contents of the
> command hash table as the correct spellings.
Ok, I tried it just because it has helped for the same problem when
I have installed new software.
> Does "rehash -f" (both empty the command hash and refill it again) help?
No.
> Do you use the HASH_LIST_ALL option? Unless that option is set, the
> command hash table does not automatically fill itself during correction.
I don't use it but I tried setting it and it changed nothing.
--
Hannu
next prev parent reply other threads:[~2002-01-07 12:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-19 9:00 Hannu Koivisto
2002-01-06 3:03 ` Bart Schaefer
2002-01-07 12:54 ` Hannu Koivisto [this message]
2002-01-09 17:34 ` 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=87itaecoeu.fsf@lynx.ionific.com \
--to=azure@iki.fi \
--cc=schaefer@brasslantern.com \
--cc=zsh-users@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).