Przeglądaj źródła

Add "octal-permissions" flag to fish and zsh autocomplete

PatriotRossii 4 lat temu
rodzic
commit
98e1948cd2
2 zmienionych plików z 2 dodań i 0 usunięć
  1. 1 0
      completions/completions.fish
  2. 1 0
      completions/completions.zsh

+ 1 - 0
completions/completions.fish

@@ -75,6 +75,7 @@ complete -c exa        -l 'time-style' -x -d "How to format timestamps" -a "
     full-iso\t'Display full ISO timestamps, up to the nanosecond'
 "
 complete -c exa        -l 'no-permissions' -d "Suppress the permissions field"
+complete -c exa        -l 'octal-permissions' -d "List each file's permission in octal format"
 complete -c exa        -l 'no-filesize'    -d "Suppress the filesize field"
 complete -c exa        -l 'no-user'        -d "Suppress the user field"
 complete -c exa        -l 'no-time'        -d "Suppress the time field"

+ 1 - 0
completions/completions.zsh

@@ -43,6 +43,7 @@ __exa() {
         {-t,--time}="[Which time field to show]:(time field):(accessed changed created modified)" \
         --time-style="[How to format timestamps]:(time style):(default iso long-iso full-iso)" \
         --no-permissions"[Suppress the permissions field]" \
+        --octal-permissions"[List each file's permission in octal format]" \
         --no-filesize"[Suppress the filesize field]" \
         --no-user"[Suppress the user field]" \
         --no-time"[Suppress the time field]" \