zsh-workers
 help / color / mirror / code / Atom feed
From: schaefer@z-code.ncd.com (Barton E. Schaefer)
To: mliggett@indiana.edu, zsh-workers@math.gatech.edu
Subject: Re: couple of zsh features
Date: Thu, 7 Dec 1995 09:29:00 -0800	[thread overview]
Message-ID: <951207092900.ZM17571@zyrcon.z-code.com> (raw)
In-Reply-To: Matt Liggett <mliggett@seven.ucs.indiana.edu> "couple of zsh features" (Dec  7, 11:31am)

On Dec 7, 11:31am, Matt Liggett wrote:
} Subject: couple of zsh features
}
} 1) Right-hand command prompting.
} [...]  I think this sort of "right justifying" could be a 
} good visual clue for some people and help them set commands off from 
} output.

I think you ought to think about this a bit longer.  Anybody who is
that confused about what's a command and what's output shouldn't be
driving a shell without supervision.

} 2) `oops'
} 
} What oops does is takes the first word that failed to parse 
} correctly in the previous line and replaces it with its argument.  

Have you tried "setopt correctall"?

I do think correctall would be more usable if you could actually enter
the corrected spelling at the SPROMT, rather than merely accepting or
rejecting the guess and then having to go back to zle to edit the line.

} Maybe some kind of compctl-based matching could be used to determine 
} which word in the previous command was a likely mismatch.

It might be useful to have the word or character position of the last
failed correction available to compctl, and to have a history reference
for the last unknown command or syntax error.

-- 
Bart Schaefer                     Vice President, Technology, Z-Code Software
schaefer@z-code.com                  Division of NCD Software Corporation
http://www.well.com/www/barts


  parent reply	other threads:[~1995-12-07 17:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-12-07 16:31 Matt Liggett
     [not found] ` <mliggett@seven.ucs.indiana.edu>
1995-12-07 17:29   ` Barton E. Schaefer [this message]
1995-12-07 17:59     ` Matt Liggett
1995-12-08  9:07       ` Bas V. de Bakker
1995-12-07 20:22     ` Richard Coleman
1995-12-07 19:02   ` Barton E. Schaefer
1995-12-08  7:20 Sven Wischnowsky
1995-12-16  0:52 Thomas Pierre Schweikle

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=951207092900.ZM17571@zyrcon.z-code.com \
    --to=schaefer@z-code.ncd.com \
    --cc=mliggett@indiana.edu \
    --cc=zsh-workers@math.gatech.edu \
    /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).