2 ms·
I was able to override ^L (in BASH, at least) with this ~/.inputrc[1]: "\f": "\C-upaclear -cyellow -s5\C-m" ...though the experience isn't great, which I blam
by YoshiRulz 3y ago
I was able to override ^L (in BASH, at least) with this ~/.inputrc[1]:
"\f": "\C-upaclear -cyellow -s5\C-m"
...though the experience isn't great, which I blame Konsole for. (It also adds to shell history, where the builtin obviously does not.)
[1]: https://ss64.com/bash/syntax-inputrc.html https://ss64.com/bash/syntax-inputrc.html
- deleted 3y ago[deleted]
- ksherlock 3y agoFor bash, if `$HISTCONTROL` is `ignoreboth` or `ignorespace`, commands with a leading space are not added to the history, so you could try that as a workaround.