diff options
Diffstat (limited to 'contrib/gcl')
-rw-r--r-- | contrib/gcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/gcl b/contrib/gcl index ce6923fc..e0931536 100644 --- a/contrib/gcl +++ b/contrib/gcl @@ -7,7 +7,7 @@ _gcl() local cur COMPREPLY=() - cur=`_get_cword` + _get_comp_words_by_ref cur # completing an option (may or may not be separated by a space) if [[ "$cur" == -* ]]; then @@ -19,7 +19,7 @@ _gcl() return 0 } && -complete -F _gcl $default gcl +complete -F _gcl -o default gcl # Local variables: # mode: shell-script |