From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@sunsite.dk
Subject: Re: Adding nocorrect to a preexec function
Date: Wed, 18 Jan 2006 02:24:33 +0000 [thread overview]
Message-ID: <1060118022434.ZM16495@candle.brasslantern.com> (raw)
In-Reply-To: <20060117231130.GA14934@fruitcom.com>
On Jan 18, 12:11am, Eric Smith wrote:
}
} I use the following function (which is probably more complex that
} required)
Having stared at this for a few minutes without figuring out what the
heck it's supposed to do, I can't say whether it's more complex than
required or not. Have you noticed what happens when you type a command
with any of the separators ; & | && || in it? Not to mention things
like loop constructs.
What is "cost"?
} and wish to add nocorrect to it.
I understand all those words, but they convey to me nothing about the
desired final result ...
However, at a guess, your problem is that correction takes place before
preexec is ever called, so nothing you can do inside it will help.
prev parent reply other threads:[~2006-01-18 2:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-17 23:11 Eric Smith
2006-01-18 2:24 ` Bart Schaefer [this message]
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=1060118022434.ZM16495@candle.brasslantern.com \
--to=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).