Change f/full flag to l/long for ls and ps commands (#2283)

* Change `f`/`full` flag to `l`/`long` for `ls` and `ps` commands

* Fix a few more `--full` instances
This commit is contained in:
Joseph T. Lyons
2020-08-01 14:30:45 -04:00
committed by GitHub
parent 4ef15b5f80
commit 9fb6f5cd09
13 changed files with 34 additions and 33 deletions

View File

@ -81,7 +81,7 @@ We can also set the name of the second column or sort the table:
Of course, histogram operations are not restricted to just analyzing numbers in files, you can also analyze your directories
```shell
> ls -fa | histogram type | sort-by count
> ls -la | histogram type | sort-by count
───┬─────────┬───────┬──────────────────────────────────────────────────────────────────────────────────────────────────────
# │ type │ count │ frequency
───┼─────────┼───────┼──────────────────────────────────────────────────────────────────────────────────────────────────────

View File

@ -12,6 +12,6 @@ Displays the last 100 commands.
...
97 │ date
98 │ ls
99 │ ls -fa
99 │ ls -la
─────┴────────────────────────────────────────────────────────────────────────
```

View File

@ -35,7 +35,7 @@ Dates can also be compared using the duration types. For example, `where accesse
## Boolean check
Where with the form `| where readonly` is used to check boolean values. For example, the command `ls --full | where readonly` will list only those files that are readonly.
Where with the form `| where readonly` is used to check boolean values. For example, the command `ls --long | where readonly` will list only those files that are readonly.
## Usage
@ -76,7 +76,7 @@ Where with the form `| where readonly` is used to check boolean values. For exam
```
```shell
> ls -f | where accessed <= 1w
> ls -l | where accessed <= 1w
───┬────────────────────┬──────┬────────┬──────────┬───────────┬─────────────┬───────┬──────────┬──────────────┬─────────────┬─────────────
# │ name │ type │ target │ readonly │ mode │ uid │ group │ size │ created │ accessed │ modified
───┼────────────────────┼──────┼────────┼──────────┼───────────┼─────────────┼───────┼──────────┼──────────────┼─────────────┼─────────────

View File

@ -3,7 +3,7 @@ header_align = "l"
header_color = "c"
header_bold = true
nonzero_exit_errors = true
startup = ["alias la [path] {ls --full $path}", "alias nudown [] {fetch https://api.github.com/repos/nushell/nushell/releases | get assets | select name download_count}"]
startup = ["alias la [path] {ls --long $path}", "alias nudown [] {fetch https://api.github.com/repos/nushell/nushell/releases | get assets | select name download_count}"]
table_mode = "other"
plugin_dirs = ["D:\\Src\\GitHub\\nu-plugin-lib\\samples\\Nu.Plugin.Len\\bin\\Debug\\netcoreapp3.1"]
pivot_mode = "auto"
@ -44,4 +44,4 @@ theme = "TwoDark"
# To add path and env do this
# > config set path $nu.path
# > config set env $nu.env
# > config set env $nu.env