zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh Workers <zsh-workers@sunsite.dk>
Subject: Re: Don't suggest completion functions when 'correcting' on non-existant commands
Date: Fri, 02 Jan 2009 18:48:00 -0800	[thread overview]
Message-ID: <090102184800.ZM26274@torch.brasslantern.com> (raw)
In-Reply-To: <20090102225432.GI4052@fsst.voodoo.lan>

On Jan 2, 11:54pm, Frank Terbeck wrote:
}
} > On Dec 31,  7:12pm, Frank Terbeck wrote:
} > } 
} > } <http://bewatermyfriend.org/posts/2007/12-26.11-50-38-tooltime.html>
} > 
} > That's not really a solution; it just replaces the correction prompt
} > with a different prompt.
} 
} Well, to me it's not really another prompt, because you're not
} actually prompted for anything.

It nevertheless stops whatever is going on and makes you hit enter, which
is not that much better than answering "N" to a request to correct the
command name.

} E.g.: If it's due to a not-yet-installed piece of software you can
} push-input the current cmdline, aptitude-install (or whatever way your
} OS does it) and then just hit enter to have the pushed command
} executed - with the missing program installed.
} 
} > It might be interesting for other reasons.
} 
} What would those reasons be? ...maybe you see use-cases I didn't see,
} yet. :-)

Well, on Ubuntu under bash when a command is not found you get told what
to do to install it (e.g. what package to apt-get install).  This could
be the basis for something like that for zsh.


  reply	other threads:[~2009-01-03  2:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-31 17:48 Richard Hartmann
2008-12-31 18:12 ` Frank Terbeck
2008-12-31 18:46   ` Bart Schaefer
2009-01-02 22:54     ` Frank Terbeck
2009-01-03  2:48       ` Bart Schaefer [this message]
2009-01-03 11:42         ` Frank Terbeck
2009-01-21 17:08           ` Richard Hartmann

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=090102184800.ZM26274@torch.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).