From 0332e0c7f72334c8692d40663b76a8bd5e73cb87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9lanie=20Chauvel?= Date: Mon, 11 Oct 2021 02:25:28 +0200 Subject: [PATCH] Fix bash completion for the colour flag Tell bash it accepts a value (always, auto, or never) --- completions/bash/exa | 5 +++++ 1 file changed, 5 insertions(+) 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