From 6618fa77c819df7a851eac9781151ef05c84c9d3 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Tue, 17 Apr 2001 09:12:26 +0000 Subject: remove SUFFIX-handling, it's in _tilde and only needed there (13997) --- Completion/Zsh/Type/_directory_stack | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'Completion/Zsh') diff --git a/Completion/Zsh/Type/_directory_stack b/Completion/Zsh/Type/_directory_stack index c8e3cad26..ac9aa9cb4 100644 --- a/Completion/Zsh/Type/_directory_stack +++ b/Completion/Zsh/Type/_directory_stack @@ -7,15 +7,7 @@ setopt localoptions nonomatch -local expl list lines revlines disp suf - -if [[ "$SUFFIX" = */* ]]; then - ISUFFIX="/${SUFFIX#*/}$ISUFFIX" - SUFFIX="${SUFFIX%%/*}" - suf=(-S '') -else - suf=() -fi +local expl list lines revlines disp ### we decided against this, for now... #! zstyle -T ":completion:${curcontext}:directory-stack" prefix-needed || @@ -48,4 +40,4 @@ else fi _wanted -V directory-stack expl 'directory stack' \ - compadd "$@" "$suf[@]" "$disp[@]" -Q -a list + compadd "$@" "$disp[@]" -Q -a list -- cgit 1.4.1