aboutsummaryrefslogtreecommitdiff
path: root/readline/inputrc
diff options
context:
space:
mode:
Diffstat (limited to 'readline/inputrc')
-rw-r--r--readline/inputrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/readline/inputrc b/readline/inputrc
index e423e006..2443309e 100644
--- a/readline/inputrc
+++ b/readline/inputrc
@@ -28,3 +28,8 @@ set show-all-if-ambiguous On
# Don't re-complete already completed text in the middle of a word
set skip-completed-text On
+# In Bash, Alt-E to prepend "exec " to a command and return to the end of the line
+$if Bash
+ "\ee": "\C-aexec \C-e"
+$endif
+