diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-05-22 15:05:35 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-05-22 15:05:35 +1200 |
commit | ca881691de1c563796b8882b473fa0da19471222 (patch) | |
tree | f05a1618b15f720e584914a65ac07dc4eba64520 | |
parent | Remove exec calls so trap works correctly (diff) | |
download | dotfiles-ca881691de1c563796b8882b473fa0da19471222.tar.gz dotfiles-ca881691de1c563796b8882b473fa0da19471222.zip |
Shortcut for prepending "exec" to a line
-rw-r--r-- | readline/inputrc | 5 |
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 + |