1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-02-24 11:51:19 +01:00

remove SUFFIX-handling, it's in _tilde and only needed there (13997)

This commit is contained in:
Sven Wischnowsky 2001-04-17 09:12:26 +00:00
parent 7286f7bc37
commit 6618fa77c8
2 changed files with 7 additions and 10 deletions
ChangeLog
Completion/Zsh/Type

View file

@ -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

View file

@ -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