From cb4bb129dd143255a582ddd203baa73d3dcc1db7 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Fri, 6 Oct 2000 13:01:51 +0000 Subject: more option setting cleanup; remove some unnecessary setopts, remove N qualifiers (12917) --- Completion/User/_mailboxes | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'Completion/User/_mailboxes') 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 -- cgit 1.4.1