diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-10-06 13:01:51 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-10-06 13:01:51 +0000 |
commit | cb4bb129dd143255a582ddd203baa73d3dcc1db7 (patch) | |
tree | 9edc79a76c65821dfabccdb6a13f7c6e6adbc7e9 /Completion/User/_mailboxes | |
parent | 2f2a33b2ea949a15d0e50678a495803bf8c07ef4 (diff) | |
download | zsh-cb4bb129dd143255a582ddd203baa73d3dcc1db7.tar.gz zsh-cb4bb129dd143255a582ddd203baa73d3dcc1db7.tar.xz zsh-cb4bb129dd143255a582ddd203baa73d3dcc1db7.zip |
more option setting cleanup; remove some unnecessary setopts, remove N qualifiers (12917)
Diffstat (limited to 'Completion/User/_mailboxes')
-rw-r--r-- | Completion/User/_mailboxes | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Completion/User/_mailboxes b/Completion/User/_mailboxes index 1f44ba7af..356b377ec 100644 --- a/Completion/User/_mailboxes +++ b/Completion/User/_mailboxes @@ -67,17 +67,15 @@ _mailbox_cache () { typeset -aU -g _mailbox_cache typeset -aU -g _maildir_cache _mbox_cache _mh_cache _mutt_cache _pine_cache - setopt localoptions nullglob - [[ -f ${~muttrc:-.} ]] && _mutt_cache=( ${=${(M)${(f)"$(<${~muttrc})"}:#mailboxes *}#mailboxes *} ) - _mbox_cache=( ${~maildirectory}/*(N^/) ) - _pine_cache=( ${~pinedirectory}/**/*(N.) ) + _mbox_cache=( ${~maildirectory}/*(^/) ) + _pine_cache=( ${~pinedirectory}/**/*(.) ) - dirboxes=( ${~maildirectory}/*(N/) ) + dirboxes=( ${~maildirectory}/*(/) ) while (( $#dirboxes )); do i=${dirboxes[1]} @@ -87,7 +85,7 @@ _mailbox_cache () { elif j=( "$i"/<1-> ) && [[ -n "$j" ]]; then _mh_cache=( "${_mh_cache[@]}" "$i" ) else - _mbox_cache=( "${_mbox_cache[@]}" "$i"/*(N.) ) + _mbox_cache=( "${_mbox_cache[@]}" "$i"/*(.) ) dirboxes=( $dirboxes "$i"/*(/) ) fi done |