about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-06-26 10:47:01 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-06-26 10:47:01 +0000
commit326e04c360d3dbb68e7a40a5c21f6284a836fe0d (patch)
tree781771e43b05183711885cbab149912fd104d7a5 /Completion
parentb4f914f784653554485a4bc29a160acfd1c6f6b4 (diff)
downloadzsh-326e04c360d3dbb68e7a40a5c21f6284a836fe0d.tar.gz
zsh-326e04c360d3dbb68e7a40a5c21f6284a836fe0d.tar.xz
zsh-326e04c360d3dbb68e7a40a5c21f6284a836fe0d.zip
default completion even if there are options (3208)
Diffstat (limited to 'Completion')
-rw-r--r--Completion/User/_use_lo8
1 files changed, 2 insertions, 6 deletions
diff --git a/Completion/User/_use_lo b/Completion/User/_use_lo
index e469154ea..2833d61b1 100644
--- a/Completion/User/_use_lo
+++ b/Completion/User/_use_lo
@@ -1,10 +1,6 @@
-#compdef gls gdiff
+#compdef gls
 
 # This is for GNU-like commands which understand the --help option,
 # but which do not otherwise require special completion handling.
 
-if [[ $PREFIX = --* ]]; then
-  _long_options
-else
-  _default
-fi
+_arguments '*:arg: _default' --