Advertisement
metalx1000

Editing Long Lines at the ZSH Prompt

May 25th, 2023
1,686
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.17 KB | None | 0 0
  1. # Enable Ctrl-x-e to edit command line
  2. autoload -U edit-command-line
  3. # Emacs style
  4. zle -N edit-command-line
  5. bindkey '^xe' edit-command-line
  6. bindkey '^x^e' edit-command-line
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement