瀏覽代碼

Fix bash completion for the colour flag

Tell bash it accepts a value (always, auto, or never)
Mélanie Chauvel 4 年之前
父節點
當前提交
0332e0c7f7
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      completions/bash/exa

+ 5 - 0
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