about summary refs log tree commit diff
path: root/Completion/Zsh/Command/_fc
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2001-04-11 21:47:17 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2001-04-11 21:47:17 +0000
commit5c380d5edecd08c6a95c37368df4ea67bd6cc0fa (patch)
tree9a8342e23a67fee7a2949ecb70fed4a997ae1492 /Completion/Zsh/Command/_fc
parent80316c893f33aede03a158e1cb8cc257e034b3fe (diff)
downloadzsh-5c380d5edecd08c6a95c37368df4ea67bd6cc0fa.tar.gz
zsh-5c380d5edecd08c6a95c37368df4ea67bd6cc0fa.tar.xz
zsh-5c380d5edecd08c6a95c37368df4ea67bd6cc0fa.zip
add _arguments based completion for alias and jobs (13947)
Diffstat (limited to 'Completion/Zsh/Command/_fc')
-rw-r--r--Completion/Zsh/Command/_fc10
1 files changed, 5 insertions, 5 deletions
diff --git a/Completion/Zsh/Command/_fc b/Completion/Zsh/Command/_fc
index 40d88db27..bcbb4928e 100644
--- a/Completion/Zsh/Command/_fc
+++ b/Completion/Zsh/Command/_fc
@@ -1,13 +1,13 @@
 #compdef fc history r
 
-local expl fc_common fc_hist fc_r
+local fc_common fc_hist fc_r
 
 fc_common=(
   '(-A -R -W -I)-r[reverse order of the commands]'
   '(-A -R -W -I -e)-n[suppress line numbers]'
   '(-A -R -W -I)*::commands:_command_names -e' )
 
-fc_hist=( \
+fc_hist=(
   '(-A -R -W -I)-m[treat first argument as a pattern]'
   '(-A -R -W -I -e -f -E -i)-d[print time-stamps]'
   '(-A -R -W -I -e -d -E -i)-f[mm/dd/yyyy format time-stamps]'
@@ -19,13 +19,13 @@ fc_r='(-A -R -W -I -e)-l[list resulting commands on stdout]'
 
 case $service in
   history)
-    _arguments -C -s -S "$fc_common[@]" "$fc_hist[@]" && return 0
+    _arguments -s -S "$fc_common[@]" "$fc_hist[@]" && return 0
   ;;
   r)
-    _arguments -C -s -S "$fc_common[@]" "$fc_r" && return 0
+    _arguments -s -S "$fc_common[@]" "$fc_r" && return 0
   ;;
   *)
-  _arguments -C -s -S \
+  _arguments -s -S \
     '(-A -R -W -I -l -n -d -f -E -i -D)-e[specify editor to invoke]:editor to invoke:_command_names -e' \
     '(-l -m -e -r -n -d -f -E -i -D -A -W *)-R[read history from file]:history file:_files' \
     '(-l -m -e -r -n -d -f -E -i -D -R -W *)-A[append history to file]:history file:_files' \