update prezto
This commit is contained in:
@@ -8,8 +8,8 @@ Settings
|
||||
|
||||
### Highlighting
|
||||
|
||||
If you have enabled color globally in *zpreztorc*, you may disable it for certain
|
||||
commands.
|
||||
If you have enabled color globally in *zpreztorc*, you may disable it for
|
||||
certain commands.
|
||||
|
||||
To disable `ls` color, add the following line to *zpreztorc*; when coloring is
|
||||
disabled, type indicators (\*, /, =>, @, =, |, %) will be appended to entries.
|
||||
@@ -18,6 +18,12 @@ disabled, type indicators (\*, /, =>, @, =, |, %) will be appended to entries.
|
||||
zstyle ':prezto:module:utility:ls' color 'no'
|
||||
```
|
||||
|
||||
To disable GNU coreutils `ls` to list directories grouped first, add the following line to *zpreztorc*:
|
||||
|
||||
```sh
|
||||
zstyle ':prezto:module:utility:ls' dirs-first 'no'
|
||||
```
|
||||
|
||||
To disable `diff` highlighting, add the following line to *zpreztorc*:
|
||||
|
||||
```sh
|
||||
@@ -109,7 +115,8 @@ Aliases
|
||||
|
||||
### Resource Usage
|
||||
|
||||
- `df` displays free disk space using human readable units (aliases to `pydf`, if installed).
|
||||
- `df` displays free disk space using human readable units (aliases to `pydf`,
|
||||
if installed).
|
||||
- `du` displays disk usage using human readable units.
|
||||
- `top` displays information about processes.
|
||||
- `topc` displays information about processes sorted by CPU usage.
|
||||
|
@@ -73,7 +73,10 @@ fi
|
||||
# ls
|
||||
if is-callable 'dircolors'; then
|
||||
# GNU Core Utilities
|
||||
alias ls='ls --group-directories-first'
|
||||
|
||||
if zstyle -T ':prezto:module:utility:ls' dirs-first; then
|
||||
alias ls="${aliases[ls]:-ls} --group-directories-first"
|
||||
fi
|
||||
|
||||
if zstyle -t ':prezto:module:utility:ls' color; then
|
||||
# Call dircolors to define colors if they're missing
|
||||
|
Reference in New Issue
Block a user