zsh-users
 help / color / mirror / code / Atom feed
* Bug in hist_allow_clobber
@ 1996-01-12 18:49 Wayne Davison
  0 siblings, 0 replies; only message in thread
From: Wayne Davison @ 1996-01-12 18:49 UTC (permalink / raw)
  To: zsh-users

The code for option HIST_ALLOW_CLOBBER works well for '>', but it is
completely backward for '>>'.  Appended redirection gets the same
treatment as normal redirection, but what we really need is the
opposite:  It should turn ">>|file" into ">>file" and leave ">>file"
alone.

I also have a feature request:  When typing ">file" I often press TAB
(complete) to see if the file exists.  It would be nice in this case to
have the file expansion add the '|' to overwrite the file since I can't
accidentally overwrite a file when I purposely completed the filename.
Perhaps it should be an option, but I think it is straight forward
enough to be the default.

..wayne..


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-01-12 19:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-01-12 18:49 Bug in hist_allow_clobber Wayne Davison

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).