diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-11 18:47:25 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-11 18:47:25 +0000 |
commit | a008690d67199d689b54972fa27a3398c1c74a7e (patch) | |
tree | d616ae8100fbbfeb92eda56e41de9cc26837a233 /Completion/User/_mailboxes | |
parent | 43a6d3508a93c6d193bc446bc879aaebe80b4e92 (diff) | |
download | zsh-a008690d67199d689b54972fa27a3398c1c74a7e.tar.gz zsh-a008690d67199d689b54972fa27a3398c1c74a7e.tar.xz zsh-a008690d67199d689b54972fa27a3398c1c74a7e.zip |
zsh-workers/9684
Diffstat (limited to 'Completion/User/_mailboxes')
-rw-r--r-- | Completion/User/_mailboxes | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Completion/User/_mailboxes b/Completion/User/_mailboxes index 97628ef9a..a0c95859d 100644 --- a/Completion/User/_mailboxes +++ b/Completion/User/_mailboxes @@ -38,5 +38,9 @@ if (( ! $+_mailbox_cache )) then _mailbox_cache=($_mailbox_cache $mboxes $maildirboxes $MHboxes) fi -_wanted files expl 'mailbox specification' && +if _wanted files expl 'mailbox specification'; then + local opre=$PREFIX + [[ $PREFIX = +* ]] && PREFIX="$~maildirectory/${PREFIX#+}" compadd "$@" "$expl[@]" - "$_mailbox_cache[@]" + PREFIX=$opre +fi |