Skip to content

Zsh widget to delete the prompt texts within the current line. It is useful when executing pasted commands from the web or README.

License

Notifications You must be signed in to change notification settings

aoyama-val/zsh-delete-prompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Zsh widget to delete the prompt texts within the current line. It is useful when executing pasted commands from the web or README.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages