diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-08 10:41:27 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-08 10:41:53 +1300 |
commit | cd1f4c6d2a45f143db953e00b7415d259e6cd3ff (patch) | |
tree | 151b92751c24476d124bb60b2122aa687021b3fa | |
parent | Adjust subshell logic in md() (diff) | |
download | dotfiles-cd1f4c6d2a45f143db953e00b7415d259e6cd3ff.tar.gz dotfiles-cd1f4c6d2a45f143db953e00b7415d259e6cd3ff.zip |
Bind Ctrl-Alt-L to clear screen in Bash
Two of the three ksh variants and zsh already do this. So, if you can't
beat 'em...
-rw-r--r-- | readline/inputrc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/readline/inputrc b/readline/inputrc index 5254656e..af82a65d 100644 --- a/readline/inputrc +++ b/readline/inputrc @@ -62,6 +62,9 @@ $if Bash # Alt+A cycles through completion options "\ea": menu-complete + # Ctrl-Alt-L to clear screen; more ksh-like + "\e\C-l": clear-screen + # Alt-E (for exec) to prepend "exec " to a command and return to the end of # the line "\ee": "\C-aexec \C-e" |