mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
Add header config knob
This commit is contained in:
parent
a632f070e8
commit
e3cfce0dd5
2 changed files with 14 additions and 0 deletions
|
|
@ -25,6 +25,17 @@ If `true`, directories will be grouped first.
|
|||
Default: `false`
|
||||
|
||||
|
||||
### `header`
|
||||
|
||||
```zsh
|
||||
zstyle ':omz:plugins:eza' 'header' $BOOL
|
||||
```
|
||||
|
||||
If `true`, always add `-h` flag to add a header row for each column.
|
||||
|
||||
Default: `false`
|
||||
|
||||
|
||||
### `showgroup`
|
||||
|
||||
```zsh
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@ function _configure_eza() {
|
|||
if zstyle -T ':omz:plugins:eza' 'showgroup'; then
|
||||
_EZA_HEAD+=("g")
|
||||
fi
|
||||
if zstyle -t ':omz:plugins:eza' 'header'; then
|
||||
_EZA_HEAD+=("h")
|
||||
fi
|
||||
# Get the tail long-options
|
||||
if zstyle -t ':omz:plugins:eza' 'dirs-first'; then
|
||||
_EZA_TAIL+=("--group-directories-first")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue