diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-17 09:12:26 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-17 09:12:26 +0000 |
commit | 6618fa77c819df7a851eac9781151ef05c84c9d3 (patch) | |
tree | 8e7139b338b9a970db198676c12f6cd5ce7b51bf | |
parent | 7286f7bc374b5016238581fd50ce3383a4aab8c8 (diff) | |
download | zsh-6618fa77c819df7a851eac9781151ef05c84c9d3.tar.gz zsh-6618fa77c819df7a851eac9781151ef05c84c9d3.tar.xz zsh-6618fa77c819df7a851eac9781151ef05c84c9d3.zip |
remove SUFFIX-handling, it's in _tilde and only needed there (13997)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Zsh/Type/_directory_stack | 12 |
2 files changed, 7 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog index 2e9d4aa74..5d049b6de 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-04-17 Sven Wischnowsky <wischnow@zsh.org> + + * 13997: Completion/Zsh/Type/_directory_stack: remove + SUFFIX-handling, it's in _tilde and only needed there + 2001-04-14 Bart Schaefer <schaefer@zsh.org> * unposted: Etc/zsh-development-guide: The entire section on hook 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 |