On Mon, 15 Mar 2021, Gabriel F. T. Gomes wrote:
>
> I'll check if it works correctly with the scripts currently installed
> under my /usr/share/bash-completion.

Perhaps we could also add && and || as command termination characters,
so that idioms like the following also get detected:

  complete -o bashdefault -o default -o nospace -F $wrapper $1 2>/dev/null \    
        
    || complete -o default -o nospace -F $wrapper $1                            
  
  (from /usr/share/bash-completion/completions/gitk)

  test -s /usr/share/osc/complete && complete -o default -C 
/usr/share/osc/complete osc
  (from /usr/share/bash-completion/completions/osc)

Reply via email to