diff options
author | Mélanie Chauvel <perso@hack-libre.org> | 2021-10-11 02:25:28 +0200 |
---|---|---|
committer | Mélanie Chauvel <perso@hack-libre.org> | 2021-10-11 02:26:12 +0200 |
commit | 0332e0c7f72334c8692d40663b76a8bd5e73cb87 (patch) | |
tree | db8cc666fa6a6a9276bfa4a54873e5a53d403dee | |
parent | 0d645735d7c03c7652e31a1daceb0c59f0c5adc1 (diff) |
Fix bash completion for the colour flag
Tell bash it accepts a value (always, auto, or never)
-rw-r--r-- | completions/bash/exa | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/completions/bash/exa b/completions/bash/exa index 187efe0..d044727 100644 --- a/completions/bash/exa +++ b/completions/bash/exa @@ -8,6 +8,11 @@ _exa() return ;; + --colour) + COMPREPLY=( $( compgen -W 'always auto never' -- "$cur" ) ) + return + ;; + -L|--level) COMPREPLY=( $( compgen -W '{0..9}' -- "$cur" ) ) return |