Joined May 2011
·

Juan C. Muller

Sr. Software Developer
·
New York, NY
·
·
·

Posted to Shortcuts that save time over 1 year ago

You can hit C-X C-E to open your $EDITOR with the command typed in the buffer and quickly edit your error. C-X C-E is a 'bash'ism that can be added to zsh quite easily by adding

autoload edit-command-line
zle -N edit-command-line
bindkey '^X^E' edit-command-line

to your .zshrc.

Achievements
197 Karma
3,098 Total ProTip Views