Просмотр исходного кода

feat(completions): added flag to completions

xempt 2 лет назад
Родитель
Сommit
66950a291a
3 измененных файлов с 3 добавлено и 0 удалено
  1. 1 0
      completions/fish/eza.fish
  2. 1 0
      completions/nush/eza.nu
  3. 1 0
      completions/zsh/_eza

+ 1 - 0
completions/fish/eza.fish

@@ -90,6 +90,7 @@ complete -c eza -l time-style -d "How to format timestamps" -x -a "
     full-iso\t'Display full ISO timestamps, up to the nanosecond'
     relative\t'Display relative timestamps'
 "
+complete -c eza -l totalsize -d "Show recursive directory size"
 complete -c eza -l no-permissions -d "Suppress the permissions field"
 complete -c eza -s o -l octal-permissions -d "List each file's permission in octal format"
 complete -c eza -l no-filesize -d "Suppress the filesize field"

+ 1 - 0
completions/nush/eza.nu

@@ -43,6 +43,7 @@ export extern "eza" [
     --accessed(-u)             # Use the accessed timestamp field
     --created(-U)              # Use the created timestamp field
     --time-style               # How to format timestamps
+    --totalsize                # Show recursive directory size
     --no-permissions           # Suppress the permissions field
     --octal-permissions(-o)    # List each file's permission in octal format
     --no-filesize              # Suppress the filesize field

+ 1 - 0
completions/zsh/_eza

@@ -50,6 +50,7 @@ __eza() {
         {-S,--blocksize}"[List each file's size of allocated file system blocks.]" \
         {-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 relative)" \
+        --totalsize="[Show recursive directory size]" \
         --no-permissions"[Suppress the permissions field]" \
         {-o,--octal-permissions}"[List each file's permission in octal format]" \
         --no-filesize"[Suppress the filesize field]" \