Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 546 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 546 Bytes

zsh-delete-prompt

Zsh widget to delete the prompt texts within the current line. It is useful when executing pasted commands from the web or README. Leading Non-alphanumeric + Space is detected as a prompt.

demo

Install

Just source the file, and bind to any key you like.

source <path/to/zsh-delete-prompt.zsh>
bindkey "<any-key>" delete-prompt

Similar works