about summary refs log tree commit diff
path: root/Completion/Core/_files
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-12-09 10:39:37 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-12-09 10:39:37 +0000
commit726e1f5545e35b2cc589d1e43202ae6c04fbffca (patch)
tree691efed5d248e10a35fb9c6f2d55e835f8d5c814 /Completion/Core/_files
parent837ee86a60421d19ad00cac1204bc94d0a96bc56 (diff)
downloadzsh-726e1f5545e35b2cc589d1e43202ae6c04fbffca.tar.gz
zsh-726e1f5545e35b2cc589d1e43202ae6c04fbffca.tar.xz
zsh-726e1f5545e35b2cc589d1e43202ae6c04fbffca.zip
zsh-workers/8965
Diffstat (limited to 'Completion/Core/_files')
-rw-r--r--Completion/Core/_files12
1 files changed, 6 insertions, 6 deletions
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