summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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' --