Przeglądaj źródła

fix: duplicates in shell completions

Mehrad Mahmoudian 2 lat temu
rodzic
commit
2e09622eff
3 zmienionych plików z 3 dodań i 6 usunięć
  1. 1 2
      completions/fish/eza.fish
  2. 1 2
      completions/nush/eza.nu
  3. 1 2
      completions/zsh/_eza

+ 1 - 2
completions/fish/eza.fish

@@ -9,7 +9,7 @@ complete -c eza -s G -l grid -d "Display entries in a grid"
 complete -c eza -s x -l across -d "Sort the grid across, rather than downwards"
 complete -c eza -s R -l recurse -d "Recurse into directories"
 complete -c eza -s T -l tree -d "Recurse into directories as a tree"
-complete -c eza -s X -l dereference -d "Dereference symbolic links when displaying information"
+complete -c eza -s X -l dereference -d "Dereference symbolic links when displaying file information"
 complete -c eza -s F -l classify -d "Display type indicator by file names"
 complete -c eza -l color \
     -l colour -d "When to use terminal colours" -x -a "
@@ -91,7 +91,6 @@ complete -c eza -s t -l time -d "Which timestamp field to list" -x -a "
     accessed\t'Display accessed time'
     created\t'Display created time'
 "
-complete -c eza -s X -l dereference -d "dereference symlinks for file information"
 complete -c eza -s m -l modified -d "Use the modified timestamp field"
 complete -c eza -s n -l numeric -d "List numeric user and group IDs."
 complete -c eza -l changed -d "Use the changed timestamp field"

+ 1 - 2
completions/nush/eza.nu

@@ -7,7 +7,7 @@ export extern "eza" [
     --across(-x)               # Sort the grid across, rather than downwards
     --recurse(-R)              # Recurse into directories
     --tree(-T)                 # Recurse into directories as a tree
-    --dereference(-X)          # Dereference symbolic links when displaying information
+    --dereference(-X)          # Dereference symbolic links when displaying file information
     --classify(-F)             # Display type indicator by file names
     --color                    # When to use terminal colours
     --colour                   # When to use terminal colours
@@ -37,7 +37,6 @@ export extern "eza" [
     --inode(-i)                # List each file's inode number
     --blocksize(-S)            # List each file's size of allocated file system blocks
     --time(-t) -d              # Which timestamp field to list
-    --dereference(-X)          # dereference symlinks for file information
     --modified(-m)             # Use the modified timestamp field
     --numeric(-n)              # List numeric user and group IDs.
     --changed                  # Use the changed timestamp field

+ 1 - 2
completions/zsh/_eza

@@ -18,7 +18,7 @@ __eza() {
         {-x,--across}"[Sort the grid across, rather than downwards]" \
         {-R,--recurse}"[Recurse into directories]" \
         {-T,--tree}"[Recurse into directories as a tree]" \
-        {-X,--dereference}"[Dereference symbolic links when displaying information]" \
+        {-X,--dereference}"[Dereference symbolic links when displaying file information]" \
         {-F,--classify}"[Display type indicator by file names]:(when):(always auto automatic never)" \
         --colo{,u}r="[When to use terminal colours]:(when):(always auto automatic never)" \
         --colo{,u}r-scale"[highlight levels of 'field' distinctly]:(fields):(all age size)" \
@@ -58,7 +58,6 @@ __eza() {
         --no-time"[Suppress the time field]" \
         {-u,--accessed}"[Use the accessed timestamp field]" \
         {-U,--created}"[Use the created timestamp field]" \
-        {-X,--dereference}"[dereference symlinks for file information]" \
         --git"[List each file's Git status, if tracked]" \
         --no-git"[Suppress Git status]" \
         --git-repos"[List each git-repos status and branch name]" \