From 188e6569dbb250b25bf3fe74b9d13007d5207b51 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Fri, 10 Dec 1999 14:47:55 +0000 Subject: manual/8992 --- Completion/Builtins/_popd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Completion/Builtins/_popd') diff --git a/Completion/Builtins/_popd b/Completion/Builtins/_popd index 604bcecd5..9c5981d17 100644 --- a/Completion/Builtins/_popd +++ b/Completion/Builtins/_popd @@ -11,9 +11,10 @@ local expl list lines revlines disp _wanted -V directory-stack expl 'directory stack' || return 1 -! _style directory-stack prefix-needed || [[ $PREFIX = [-+]* ]] || return 1 +! zstyle -t ":completion${curcontext}:directory-stack" prefix-needed || + [[ $PREFIX = [-+]* ]] || return 1 -if _style directory-stack verbose; then +if zstyle -t ":completion${curcontext}:directory-stack" verbose; then # get the list of directories with their canonical number # and turn the lines into an array, removing the current directory lines=("${PWD}" "${dirstack[@]}") -- cgit 1.4.1