diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-10 14:47:55 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-10 14:47:55 +0000 |
commit | 188e6569dbb250b25bf3fe74b9d13007d5207b51 (patch) | |
tree | bbc3c0b5f636f5887aa5cf52c8b0a75b4cccf353 /Completion/Core/_list | |
parent | d5d015115cda8eed53b668ee325f12b2dd863383 (diff) | |
download | zsh-188e6569dbb250b25bf3fe74b9d13007d5207b51.tar.gz zsh-188e6569dbb250b25bf3fe74b9d13007d5207b51.tar.xz zsh-188e6569dbb250b25bf3fe74b9d13007d5207b51.zip |
manual/8992
Diffstat (limited to 'Completion/Core/_list')
-rw-r--r-- | Completion/Core/_list | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Core/_list b/Completion/Core/_list index 6c72bc9e9..294467eca 100644 --- a/Completion/Core/_list +++ b/Completion/Core/_list @@ -8,7 +8,7 @@ local pre suf curcontext="${curcontext}:list" expr # Get the strings to compare. -if _style '' word; then +if zstyle -t ":completion${curcontext}:" word; then pre="$HISTNO$LBUFFER" suf="$RBUFFER" else @@ -18,7 +18,7 @@ fi # Should we only show a list now? -_style -s '' condition expr +zstyle -s ":completion${curcontext}:" condition expr if [[ ( -z "$expr" || "${(e):-\$[$expr]}" -eq 1 ) && ( "$pre" != "$_list_prefix" || "$suf" != "$_list_suffix" ) ]]; then |