diff options
Diffstat (limited to 'app-shells/auto-fu-zsh/files/exit.patch')
-rw-r--r-- | app-shells/auto-fu-zsh/files/exit.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app-shells/auto-fu-zsh/files/exit.patch b/app-shells/auto-fu-zsh/files/exit.patch new file mode 100644 index 00000000..a916f37f --- /dev/null +++ b/app-shells/auto-fu-zsh/files/exit.patch @@ -0,0 +1,11 @@ +--- 1/auto-fu.zsh ++++ 1/auto-fu.zsh +@@ -287,7 +287,7 @@ + + afu-eof-maybe () { + local eof="$1"; shift +- [[ "$BUFFER" != '' ]] || { $eof; return } ++ [[ -z $BUFFER ]] && { $eof; return } + "$@" + } + |