aboutsummaryrefslogtreecommitdiff
path: root/readline/inputrc
diff options
context:
space:
mode:
Diffstat (limited to 'readline/inputrc')
-rw-r--r--readline/inputrc3
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"