From 726e1f5545e35b2cc589d1e43202ae6c04fbffca Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 9 Dec 1999 10:39:37 +0000 Subject: zsh-workers/8965 --- Completion/Core/_files | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Completion/Core/_files') diff --git a/Completion/Core/_files b/Completion/Core/_files index 32d78dba1..a92771f80 100644 --- a/Completion/Core/_files +++ b/Completion/Core/_files @@ -4,13 +4,13 @@ local opts opt type=file group opts=() group=() -while getopts "P:S:qr:R:W:F:J:V:X:f/g:M:" opt; do +while getopts "P:S:qr:R:W:F:J:V:X:f/g:M:12n" opt; do case "$opt" in - /) [[ "$type" = file ]] && type=dir ;; - g) [[ "$type" = (file|dir) ]] && type="$OPTARG" ;; - q) opts=("$opts[@]" -q ) ;; - [JV]) group=( "-$opt" "$OPTARG") ;; - [^f]) opts=("$opts[@]" "-$opt" "$OPTARG") ;; + /) [[ "$type" = file ]] && type=dir ;; + g) [[ "$type" = (file|dir) ]] && type="$OPTARG" ;; + [qn12]) opts=("$opts[@]" "-$opt" ) ;; + [JV]) group=( "-$opt" "$OPTARG") ;; + [^f]) opts=("$opts[@]" "-$opt" "$OPTARG") ;; esac done -- cgit 1.4.1