From 326e04c360d3dbb68e7a40a5c21f6284a836fe0d Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Mon, 26 Jun 2000 10:47:01 +0000 Subject: default completion even if there are options (3208) --- Completion/User/_use_lo | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'Completion') 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' -- -- cgit 1.4.1