From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (euclid.skiles.gatech.edu [130.207.146.50]) by werple.net.au (8.7/8.7.1) with ESMTP id EAA08759 for ; Fri, 8 Dec 1995 04:46:47 +1100 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id MAA21150; Thu, 7 Dec 1995 12:26:11 -0500 (EST) Resent-Date: Thu, 7 Dec 1995 12:26:11 -0500 (EST) From: schaefer@z-code.ncd.com (Barton E. Schaefer) Message-Id: <951207092900.ZM17571@zyrcon.z-code.com> Date: Thu, 7 Dec 1995 09:29:00 -0800 In-Reply-To: Matt Liggett "couple of zsh features" (Dec 7, 11:31am) References: <199512071631.LAA01231@seven.ucs.indiana.edu> Reply-To: schaefer@z-code.ncd.com X-Face: czU|*h"p8AX?4.I.yU.^s%TIMx|"-s,*'|#H^|e,QjE&!jL%<]:-.U/;khS%3a2BC5_d#)( mz=$$G0u9P&*N8cA~b[URf;lgKRif@#qEf[ltie#Gg0%6$b`e`k.Cgw:\qJx\\a7c(K7^3;gXW:e1@ J Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/678 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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