From ca881691de1c563796b8882b473fa0da19471222 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 22 May 2015 15:05:35 +1200 Subject: Shortcut for prepending "exec" to a line --- readline/inputrc | 5 +++++ 1 file changed, 5 insertions(+) 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 + -- cgit v1.2.3