From 0fe98894a8a40b0021d7863be9f47df91ad1e28f Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Thu, 7 Sep 2000 08:39:20 +0000 Subject: stick some `N's into glob patterns (12768) --- Completion/User/_mailboxes | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Completion/User/_mailboxes') diff --git a/Completion/User/_mailboxes b/Completion/User/_mailboxes index 40b21e89f..1f44ba7af 100644 --- a/Completion/User/_mailboxes +++ b/Completion/User/_mailboxes @@ -74,10 +74,10 @@ _mailbox_cache () { _mutt_cache=( ${=${(M)${(f)"$(<${~muttrc})"}:#mailboxes *}#mailboxes *} ) - _mbox_cache=( ${~maildirectory}/*(^/) ) - _pine_cache=( ${~pinedirectory}/**/*(.) ) + _mbox_cache=( ${~maildirectory}/*(N^/) ) + _pine_cache=( ${~pinedirectory}/**/*(N.) ) - dirboxes=( ${~maildirectory}/*(/) ) + dirboxes=( ${~maildirectory}/*(N/) ) while (( $#dirboxes )); do i=${dirboxes[1]} @@ -87,7 +87,7 @@ _mailbox_cache () { elif j=( "$i"/<1-> ) && [[ -n "$j" ]]; then _mh_cache=( "${_mh_cache[@]}" "$i" ) else - _mbox_cache=( "${_mbox_cache[@]}" "$i"/*(.) ) + _mbox_cache=( "${_mbox_cache[@]}" "$i"/*(N.) ) dirboxes=( $dirboxes "$i"/*(/) ) fi done -- cgit v1.2.3