diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-06-26 10:47:01 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-06-26 10:47:01 +0000 |
commit | 326e04c360d3dbb68e7a40a5c21f6284a836fe0d (patch) | |
tree | 781771e43b05183711885cbab149912fd104d7a5 /Completion/User/_use_lo | |
parent | b4f914f784653554485a4bc29a160acfd1c6f6b4 (diff) | |
download | zsh-326e04c360d3dbb68e7a40a5c21f6284a836fe0d.tar.gz zsh-326e04c360d3dbb68e7a40a5c21f6284a836fe0d.tar.xz zsh-326e04c360d3dbb68e7a40a5c21f6284a836fe0d.zip |
default completion even if there are options (3208)
Diffstat (limited to 'Completion/User/_use_lo')
-rw-r--r-- | Completion/User/_use_lo | 8 |
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' -- |