diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-03-23 12:52:39 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-03-23 12:52:39 +0000 |
commit | 6fda33d3abd70bd4c219aac0e8c416270f398fef (patch) | |
tree | cddd4f18a612f0b235b70f9fceffe8779dade908 /Doc/Zsh/compsys.yo | |
parent | 9ef6eed52a5cdba96bb95711eadd71d21bd81388 (diff) | |
download | zsh-6fda33d3abd70bd4c219aac0e8c416270f398fef.tar.gz zsh-6fda33d3abd70bd4c219aac0e8c416270f398fef.tar.xz zsh-6fda33d3abd70bd4c219aac0e8c416270f398fef.zip |
fix
Diffstat (limited to 'Doc/Zsh/compsys.yo')
-rw-r--r-- | Doc/Zsh/compsys.yo | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index 3472beb0e..81700762a 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -2307,11 +2307,11 @@ completers are only used when completion is attempted a second time on the same string, e.g.: example(zstyle ':completion:*' completer ' - if [[ $_last_try = "$HISTNO$BUFFER$CURSOR" ]]; then + if [[ $_last_try != "$HISTNO$BUFFER$CURSOR" ]]; then + _last_try="$HISTNO$BUFFER$CURSOR" reply=(_complete _match _prefix) else - _last_try="$HISTNO$BUFFER$CURSOR" - reply=( _ignored _correct _approximate) + reply=(_ignored _correct _approximate) fi') This uses the tt(HISTNO) parameter and the tt(BUFFER) and tt(CURSOR) |