about summary refs log tree commit diff
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
parentb4f914f784653554485a4bc29a160acfd1c6f6b4 (diff)
downloadzsh-326e04c360d3dbb68e7a40a5c21f6284a836fe0d.tar.gz
zsh-326e04c360d3dbb68e7a40a5c21f6284a836fe0d.tar.xz
zsh-326e04c360d3dbb68e7a40a5c21f6284a836fe0d.zip
default completion even if there are options (3208)
-rw-r--r--ChangeLog3
-rw-r--r--Completion/User/_use_lo8
2 files changed, 5 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 550d3696f..2e7faa5bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-06-26  Sven Wischnowsky  <wischnow@zsh.org>
 
+	* 3208: Completion/User/_use_lo: default completion even if there
+ 	are options
+	
 	* 12070: Completion/Core/_ignored: fix for completer lookup in
  	_ignored
 	
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' --