Skip to content

Commit cd81d16

Browse files
authored
feat(eza): add description (#1178)
1 parent 0fae480 commit cd81d16

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

custom-completions/eza/eza-completions.nu

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,28 @@ def "nu-complete eza color-scale-mode" [] {
2727
}
2828

2929
# A modern, maintained replacement for ls
30+
#
31+
# It uses colours for information by default, helping you distinguish between
32+
# many types of files, such as whether you are the owner, or in the owning group.
33+
#
34+
# It also has extra features not present in the original ls, such as viewing
35+
# the Git status for a directory, or recursing into directories with a tree view.
3036
@category filesystem
3137
@example "List the contents of the current directory in a grid" {
32-
eza
38+
eza
3339
}
3440
@example "Display a list of files with the largest at the top" {
35-
eza --oneline --reverse --sort=size
41+
eza --oneline --reverse --sort=size
3642
}
3743
@example "Display a table of files with a header, showing each file's metadata, inode, and Git status" {
38-
eza --long --header --inode --git
44+
eza --long --header --inode --git
3945
}
4046
@example "Display a tree of files, three levels deep, as well as each file's metadata" {
41-
eza --long --tree --level=3
47+
eza --long --tree --level=3
4248
}
4349
export extern "eza" [
50+
...path: glob # folder to list
51+
4452
--help(-?) # show list of command-line options
4553
--version(-v) # show version of eza
4654

@@ -67,7 +75,7 @@ export extern "eza" [
6775

6876
--all(-a) # show hidden and 'dot' files. Use this twice to also show the '.' and '..' directories
6977
--almost-all(-A) # equivalent to --all; included for compatibility with `ls -A`
70-
--treat-dirs-as-files(-d) # list directories as files; don't list their contents
78+
--treat-dirs-as-files(-d) # list directories as files; don't list their contents
7179
--only-dirs(-D) # list only directories
7280
--only-files(-f) # list only files
7381
--show-symlinks # explicitly show symbolic links (for use with --only-dirs | --only-files)

0 commit comments

Comments
 (0)