What bash does is a good start.  I've always wanted a more powerful way to
exclude certain things from the command history, especially erroneous and
failed commands.  I haven't been able to think of a good way to specify
that.  For example:

$ cat ~/.kshcr
cat: /home/ebh/.kshcr: No such file or directory

That shouldn't go into the history.  But what about:

$ cat ~/.kshrc
cat: /home/ebh/.kshrc: No such file or directory
$ echo 'alias l=ls\ -xF' >~/.kshrc
$ # Would like to do M-PM-P here

Maybe some "keep-previous-command-anyway" editing function or some such.

-Ed Horch
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users

Reply via email to