2013/11/27 Rich Felker <[email protected]>: > On Wed, Nov 27, 2013 at 06:06:41AM +0100, Harald Becker wrote: >> Hi Xabier ! >> >> >Indeed, it's a feature I have personally never used, but it >> >annoys me every time I want to use an exclamation mark in the >> >shell... :S >> >> Just in case you do not know, you can disable this feature in >> bash. I think it's "set +H", else look in bash manpage under the >> topic History Expansion. > > Yes, that's it. I have a $ENV file I share with multiple shells (not > just bash) and this line works very well: > > case "$-" in *H*) set +H ;; esac > > Rich
Thank you both Harald and Rich! I thought '!' was part of command history and that it couldn't be disabled without disabling *all* cmd history! Good. Straight to all my .bashrc files right now! _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
