1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-07 16:00:41 +01:00

znt: optimizations for zsh<=5.2, use $BUFFER if cmd is not from history

This commit is contained in:
Sebastian Gniazdowski
2016-01-07 11:06:12 +01:00
parent d30a501b1c
commit 77f93f61c5
7 changed files with 25 additions and 12 deletions

View File

@@ -25,7 +25,7 @@ widgets exist, znt-cd-widget and znt-kill-widget, they can be too assigned
to key combinations (no need for autoload when using Oh My Zsh):
zle -N znt-cd-widget
bindkey "^T" znt-cd-widget
bindkey "^A" znt-cd-widget
zle -N znt-kill-widget
bindkey "^Y" znt-kill-widget