diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-14 00:20:36 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-14 00:20:36 +0000 |
commit | 5be1908b56232b3f1236dc6ea75b170ae2826c7a (patch) | |
tree | b9c110a1e8872ece32dcd34306f46f6c825005bd /Completion/Debian/_apt | |
parent | 6818d4f69732c2547f589cba9d9c7e0b73ee6310 (diff) | |
download | zsh-5be1908b56232b3f1236dc6ea75b170ae2826c7a.tar.gz zsh-5be1908b56232b3f1236dc6ea75b170ae2826c7a.tar.xz zsh-5be1908b56232b3f1236dc6ea75b170ae2826c7a.zip |
zsh-workers/7817
Diffstat (limited to 'Completion/Debian/_apt')
-rw-r--r-- | Completion/Debian/_apt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Debian/_apt b/Completion/Debian/_apt index 7654ce1fe..2c1f2af41 100644 --- a/Completion/Debian/_apt +++ b/Completion/Debian/_apt @@ -113,7 +113,7 @@ compadd "$expl_opt[@]" - $tmp2 tmp2=($_ra_left${(M)^short_hasarg:#$~tmp1} $_ra_left${(M)^short_configfile:#$~tmp1} $_ra_left${(M)^short_arbitem:#$~tmp1}) compadd "$expl_opt[@]" -S= - $tmp2' - comp_opt='[[ -prefix - || -z "$compconfig[option_prefix]" ]]'" && { $comp_short; $comp_long }" + comp_opt='[[ -prefix - || -z "$compconfig[option_prefix]" || "$compconfig[option_prefix]" = *\!$words[1]* ]]'" && { $comp_short; $comp_long }" regex_short=() regex_long=() |