From 00a629d6c2bdb4d45046b8e2e15c7772fb32aaeb Mon Sep 17 00:00:00 2001 From: Carlo Sala Date: Thu, 29 Feb 2024 09:39:45 +0100 Subject: [PATCH] sort stuff --- .github/CODEOWNERS | 4 +-- plugins/eza/README.md | 50 +++++++++++++++++--------------------- plugins/eza/eza.plugin.zsh | 2 +- 3 files changed, 25 insertions(+), 31 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index eb30b5530..361ed624b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,5 +1,6 @@ # Plugin owners plugins/archlinux/ @ratijas +plugins/dbt/ @msempere plugins/eza/ @pepoluan plugins/genpass/ @atoponce plugins/git-lfs/ @hellovietduc @@ -7,8 +8,7 @@ plugins/gitfast/ @felipec plugins/react-native @esthor plugins/sdk/ @rgoldberg plugins/shell-proxy/ @septs +plugins/starship/ @axieax plugins/universalarchive/ @Konfekt plugins/wp-cli/ @joshmedeski plugins/zoxide/ @ajeetdsouza -plugins/starship/ @axieax -plugins/dbt/ @msempere diff --git a/plugins/eza/README.md b/plugins/eza/README.md index dcd338dfd..5de935c2c 100644 --- a/plugins/eza/README.md +++ b/plugins/eza/README.md @@ -12,7 +12,8 @@ plugins=(... eza) All configurations are done using the `zstyle` command in the `:omz:plugins:eza` namespace. -**NOTE:** The configuring needs to be done prior to OMZ loading the plugins. When the plugin is loaded, changing the `zstyle` won't have any effect. +**NOTE:** The configuring needs to be done prior to OMZ loading the plugins. When the plugin is loaded, +changing the `zstyle` won't have any effect. ### `dirs-first` @@ -24,7 +25,6 @@ If `yes`, directories will be grouped first. Default: `no` - ### `git-status` ```zsh @@ -35,7 +35,6 @@ If `yes`, always add `--git` flag to indicate git status (if tracked / in a git Default: `no` - ### `header` ```zsh @@ -46,18 +45,16 @@ If `yes`, always add `-h` flag to add a header row for each column. Default: `no` - -### `showgroup` +### `show-group` ```zsh -zstyle ':omz:plugins:eza' 'showgroup' yes|no +zstyle ':omz:plugins:eza' 'show-group' yes|no ``` If `yes` (default), always add `-g` flag to show the group ownership. Default: `yes` - ### `size-prefix` ```zsh @@ -66,13 +63,13 @@ zstyle ':omz:plugins:eza' 'size-prefix' (binary|none|si) Choose the prefix to be used in displaying file size: -* `binary` -- use [binary prefixes](https://en.wikipedia.org/wiki/Binary_prefix) such as "Ki", "Mi", "Gi" and so on -* `none` -- don't use any prefix, show size in bytes -* `si` (default) -- use [Metric/S.I. prefixes](https://en.wikipedia.org/wiki/Metric_prefix) +- `binary` -- use [binary prefixes](https://en.wikipedia.org/wiki/Binary_prefix) such as "Ki", "Mi", "Gi" and + so on +- `none` -- don't use any prefix, show size in bytes +- `si` (default) -- use [Metric/S.I. prefixes](https://en.wikipedia.org/wiki/Metric_prefix) Default: `si` - ### `time-style` ```zsh @@ -83,25 +80,22 @@ Sets the `--time-style` option of `eza`. (See `man eza` for the options) Default: Not set, which means the default behavior of `eza` will take place. - ## Aliases **Notes:** -* Aliases may be modified by Configuration -* The term "files" without "only" qualifier means both files & directories - - -| Alias | Command | Description | -| ------- | ----------------- | --------------------------------------------------------------------------- | -| `la` | `eza -la` | List all files (except . and ..) as a long list | -| `ldot` | `eza -ld .*` | List dotfiles only (directories shown as entries instead of recursed into) | -| `lD` | `eza -lD` | List only directories (excluding dotdirs) as a long list | -| `lDD` | `eza -laD` | List only directories (including dotdirs) as a long list | -| `ll` | `eza -l` | List files as a long list | -| `ls` | `eza` | Plain eza call | -| `lsd` | `eza -d` | List specified files with directories as entries, in a grid | -| `lsdl` | `eza -dl` | List specified files with directories as entries, in a long list | -| `lS` | `eza -l -ssize` | List files as a long list, sorted by size | -| `lT` | `eza -l -snewest` | List files as a long list, sorted by date (newest last) | +- Aliases may be modified by Configuration +- The term "files" without "only" qualifier means both files & directories +| Alias | Command | Description | +| ------ | ----------------- | -------------------------------------------------------------------------- | +| `la` | `eza -la` | List all files (except . and ..) as a long list | +| `ldot` | `eza -ld .*` | List dotfiles only (directories shown as entries instead of recursed into) | +| `lD` | `eza -lD` | List only directories (excluding dotdirs) as a long list | +| `lDD` | `eza -laD` | List only directories (including dotdirs) as a long list | +| `ll` | `eza -l` | List files as a long list | +| `ls` | `eza` | Plain eza call | +| `lsd` | `eza -d` | List specified files with directories as entries, in a grid | +| `lsdl` | `eza -dl` | List specified files with directories as entries, in a long list | +| `lS` | `eza -l -ssize` | List files as a long list, sorted by size | +| `lT` | `eza -l -snewest` | List files as a long list, sorted by date (newest last) | diff --git a/plugins/eza/eza.plugin.zsh b/plugins/eza/eza.plugin.zsh index d79ef1278..6d7f720bd 100644 --- a/plugins/eza/eza.plugin.zsh +++ b/plugins/eza/eza.plugin.zsh @@ -9,7 +9,7 @@ typeset -a _EZA_TAIL function _configure_eza() { local _val # Get the head flags - if zstyle -T ':omz:plugins:eza' 'showgroup'; then + if zstyle -T ':omz:plugins:eza' 'show-group'; then _EZA_HEAD+=("g") fi if zstyle -t ':omz:plugins:eza' 'header'; then