3 ms·
Also bash supports Ctrl-X + Ctrl-E to open $EDITOR to edit the current prompt.
by Arnavion 4y ago
Also bash supports Ctrl-X + Ctrl-E to open $EDITOR to edit the current prompt.
- quesera 4y agoIn vi mode (i.e. after "set -o vi") in bash or zsh, you can open $EDITOR on the current prompt contents with: Esc, then v