ohmyzsh/plugins/eza
Yogeshwaran Rajendran 4adcb08e48 [pull] master from ohmyzsh:master (#3)
* feat(git): support `stable` in `git_main_branch` (#12447)

* Add Support for Tabby Terminal in Macos Plugin (#12451)

* Added Support for Tabby in Macos-Plugin

* Update README.md

Added Supported Terminal List

* chore(macos): Update README to link to terminals

Linking to the supported terminals, moving reference to the original author to the Acknowledgements section

---------

Co-authored-by: Robby Russell <robby@planetargon.com>

* feat(kitty): add plugin for the kitty terminal (#10994)

* A plugin for the Kitty terminal

Provides a handful of useful aliases for anyone working in a Kitty
terminal. In particular, the kssh command is handy for ensuring that
terminfo is set correctly on remote hosts when  you ssh to them.

* Guard kitty configuration

We should only load these aliases into a terminal that's identifying
itself as an xterm-kitty terminal. They're not useful in any other
situation.

* fix(pass): completion for multiple repositories (#12464)

* fix(kubectl): load completion properly in functions

Closes #12427

* feat(yarn)!: add optional support for yarn berry (#12374)

BREAKING CHANGE: some `yarn` aliases changed . Please see README for further information.

Co-authored-by: Carlo Sala <carlosalag@protonmail.com>

* chore(yarn): remove unneeded line

* fix(tmux): add completion for alias functions (#12468)

* docs(stripe): fix typo (#12470)

* feat(eza): add icons option (#12469)

Co-authored-by: Computer <computer@MAI.local>

* fix(bgnotify): use terminal-notifier args properly (#12467)

* docs: reword alternative installer mirror (#12474)

* feat(golang): add alias for `go mod tidy` (#12473)

* fix(eza): icons tab completion (#12483)

* feat(extract): add support for multi-part 7z (#12484)

* fix(bundler): add completion for `bundler` bin as well

Closes #12482

* feat(history-substring-search): update to 87ce96b1 (#12486)

Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>

* feat(forklift): add support for ForkLift 4 (#12490) (#12491)

* feat(terraform): add workspace aliases (#12171)

* feat(terraform): add workspace aliases

* chore: rm aliases in separate pending pr

* docs: show tfiu alias in readme

---------

Co-authored-by: Robby Russell <robby@planetargon.com>

* feat(docker): add aliases for `docker ps` and `docker ps -a` (#12488)

* feat(swiftpm): update completion for Swift 5.9 (#12044)

* feat(poetry): add aliases (#11858)

* Add plugin for native autocompletion from Symfony 6 (#11999)

* Revert "Add plugin for native autocompletion from Symfony 6 (#11999)" (#12493)

This reverts commit 166b9dcfdc.

* feat(symfony6): Add plugin for native autocompletion from Symfony 6

This reverts commit 83014bd945.

* fix(lib/git): turn off async prompt for zsh < 5.0.6

We removed this mitigation in 0c80a063 because of an assumption
that the issue had been fixed, but it looks like zsh < 5.0.6 has
other issues (see #12360), so we need to disable it for real.

Fixes #12360

* fix(history): add warning before deleting command history in `history -c` (#12472)

* fix(screen): Prevent title being overwritten (#4633)

lib/termsupport.zsh creates titles for screen which take precedence over
titles set by the screen plugin. Unsetting the title() function within
the screen plugin prevent this "race-condition".

* feat(init): add custom functions and completions to `$fpath` (#5644)

Closes #5644

Co-authored-by: Marc Cornellà <marc@mcornella.com>

* feat(shrink-path): allow for showing `N` last-full elements (#12481)

This commit allows specifying a number of last segments to be fully shown,
either via `-l N` or with `zstyle`.

* fix(timer): skip timer after running `clear` (#12370)

Co-authored-by: Marc Cornellà <marc@mcornella.com>

* fix(history): fix logic error in prompt for `history -c` (#12500)

Logic error in `history -c` when prompting for confirmation caused history
to be deleted when typing anything but explicitly `n`, `N`, or sending `\n`.
New logic prevents deletion by pressing wrong key and only deletes
history when sending `y` or `Y`.

Co-authored-by: Sargates <nicholas.g.glenn@gmail.com>

* docs(alias-finder): add some examples (#12502)

* chore: better document top-level custom files for aliases (#12504)

See discussion in https://github.com/ohmyzsh/ohmyzsh/discussions/12504

* feat(wd): update to 498695ff (#12507)

Closes #12489

Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>

* fix(encode64): use proper encode file flags

Fixes #12509

* fix(essembeh): use async prompt (#12512)

* fix(history): fix confirmation prompt to allow bypass

See https://github.com/ohmyzsh/ohmyzsh/issues/12472#issuecomment-2171461005

* chore(history): show input in confirmation prompt

Fixes https://github.com/ohmyzsh/ohmyzsh/issues/12472#issuecomment-2175868971

* chore(deps): bump `urllib3` to 2.2.2 in `dependencies` workflow (#12516)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(init): fix definition order for `$ZSH_CUSTOM`

Tipped about this in 6754b7e67 (commitcomment-143280115)

* chore(deps): bump certifi from 2024.2.2 to 2024.6.2 in /.github/workflows/dependencies (#12519)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump requests from 2.31.0 to 2.32.3 in /.github/workflows/dependencies (#12518)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(git): add `gclf` alias (#12508)

* fix(bun): set `SHELL` when generating completions (#12533)

* docs: rename twitter to X, fix link (#12532)

* docs(command-not-found): mention gentoo support (#12530)

* feat(battery): support custom AC indicator (#12528)

* chore: replace all instances of twitter with X

Closes #12536

* chore(deps): bump certifi in `dependencies` workflow (#12543)

Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.6.2 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2024.06.02...2024.07.04)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(eza): add hyperlink option (#12545)

* refactor(pygmalion): simplify theme logic and prompt sequences (#12550)

* Simplify Pygmalion Theme

The Pygmalion theme previously had some logic for counting line length and taking action based on line length. The action was removed in c52441b624, but the counting still needlessly happens.

This commit removes the code to count line length, and simplifies the Pygmalion theme by moving the "precmd" into the setup.

As a bonus unintended side effect, this makes the Pygmalion theme compatible with the current async prompting logic (i.e. after this change, Pygmalion is no longer affected by https://github.com/ohmyzsh/ohmyzsh/issues/12328)

* refactor(pygmalion): redo and simplify prompt sequences

With this commit we put the minimal needed color resets, i.e. only
when we don't control the previous text we need to do a full reset.
Otherwise we can just use %F{} to change only the foreground color.

Co-authored-by: Marc Cornellà <marc@mcornella.com>

* fix(init): add cached completions directory only once (#12551)

Double quotes within the subscript test are interpreted literally, making the
test never match. On subsequent runs, the `$ZSH_CACHE_DIR/completions` directory
is always prepended to `$fpath`, even if it is already there. This commit fixes
that.

Fixes #12551

Co-authored-by: Adem Simsek <adem@simsek.dev>

* fix(init): fix subscript flag in 11ca9e2a

* feat(opentofu): add plugin for OpenTofu (#12285)

- Adds aliases
- Sets up autocompletion
- Adds promp functions to show workspace and `tofu` version

Co-authored-by: Marc Cornellà <marc@mcornella.com>

* fix(docker-compose): fix test for `docker-compose` executable (#12555)

* fix(tmux): do not conflict with `rcExpandParam`

Closes #12506

* feat(conda-env): add plugin for conda prompt display (#10619)

Co-authored-by: Jeonguk Choi <91456421+devj121@users.noreply.github.com>

* fix(python): avoid local packages load

Closes #12535

* refactor(rtx): remove deprecated `rtx` plugin in favor of `mise`

* feat(bira): add `conda` env information (requires `conda-env` plugin) (#12546)

Closes #10274
Closes #12546

Co-authored-by: elfisworking <zymustb@126.com>
Signed-off-by: elfisworking <zymustb@126.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: elfisworking <zymustb@126.com>
Co-authored-by: Jesús Miguel Benito Calzada <beni0888@hotmail.com>
Co-authored-by: theredcmdcraft <57496807+theredcmdcraft@users.noreply.github.com>
Co-authored-by: Robby Russell <robby@planetargon.com>
Co-authored-by: Ian Chesal <ian.chesal@gmail.com>
Co-authored-by: Lukas Grimm <ombre@ombre.ch>
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
Co-authored-by: Jeroen Claassens <jeroen.claassens@live.nl>
Co-authored-by: MoetaYuko <loli@yuko.moe>
Co-authored-by: Albert <87888006+MustCodeAl@users.noreply.github.com>
Co-authored-by: EraPartner <152506497+EraPartner@users.noreply.github.com>
Co-authored-by: Computer <computer@MAI.local>
Co-authored-by: David LJ <mail@davidlj95.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Martin Bjeldbak Madsen <me@martinbjeldbak.com>
Co-authored-by: vincent <captainvincenttw@gmail.com>
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
Co-authored-by: Michal Szymanski <55950820+misiektoja@users.noreply.github.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
Co-authored-by: Sergey Karpuk <sergeykarpuk@yandex.by>
Co-authored-by: Marco Eidinger <eidingermarco@gmail.com>
Co-authored-by: baltic-tea <97766478+baltic-tea@users.noreply.github.com>
Co-authored-by: Malte Schlüter <account@schlueter-malte.de>
Co-authored-by: Marc Cornellà <marc@mcornella.com>
Co-authored-by: Manuel Faux <manuel@conf.at>
Co-authored-by: Mayu Laierlence <minacle@live.com>
Co-authored-by: Gabriel Charland <76267249+gcharland1@users.noreply.github.com>
Co-authored-by: Nathaniel.Belles <36868971+Nbelles@users.noreply.github.com>
Co-authored-by: Nick Glenn <78454343+Sargates@users.noreply.github.com>
Co-authored-by: Sargates <nicholas.g.glenn@gmail.com>
Co-authored-by: Tim Abell <tim@timwise.co.uk>
Co-authored-by: Sébastien MB <essembeh@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Turiiya <34311583+ttytm@users.noreply.github.com>
Co-authored-by: Pedro Barbiero <pedro.barbiero@db1.com.br>
Co-authored-by: Ihor <kopach@users.noreply.github.com>
Co-authored-by: Luke <luke@blucobalt.dev>
Co-authored-by: 张新伟 <me@ryuujo.com>
Co-authored-by: Benedikt Volkmer <7070761+bvolkmer@users.noreply.github.com>
Co-authored-by: Marc Khouri <marc@khouri.ca>
Co-authored-by: Adem Simsek <adem@simsek.dev>
Co-authored-by: chenzj <tibazq@gmail.com>
Co-authored-by: Denis Iskandarov <den-is@users.noreply.github.com>
Co-authored-by: Jeonguk Choi <91456421+cjeonguk@users.noreply.github.com>
Co-authored-by: Jeonguk Choi <91456421+devj121@users.noreply.github.com>
Co-authored-by: Teddy Masters <teddy.masters@pm.me>
Co-authored-by: elfisworking <zymustb@126.com>
2024-07-22 11:14:05 +05:30
..
eza.plugin.zsh fix(eza): icons tab completion (#12483) 2024-07-22 11:13:24 +05:30
README.md [pull] master from ohmyzsh:master (#3) 2024-07-22 11:14:05 +05:30

eza plugin

This provides aliases that invoke the eza utility rather than ls

To use it add eza to the plugins array in your zshrc file:

plugins=(... eza)

Configuration

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.

dirs-first

zstyle ':omz:plugins:eza' 'dirs-first' yes|no

If yes, directories will be grouped first.

Default: no

git-status

zstyle ':omz:plugins:eza' 'git-status' yes|no

If yes, always add --git flag to indicate git status (if tracked / in a git repo).

Default: no

header

zstyle ':omz:plugins:eza' 'header' yes|no

If yes, always add -h flag to add a header row for each column.

Default: no

show-group

zstyle ':omz:plugins:eza' 'show-group' yes|no

If yes (default), always add -g flag to show the group ownership.

Default: yes

icons

zstyle ':omz:plugins:eza' 'icons' yes|no

If yes, sets the --icons option of eza, adding icons for files and folders.

Default: no

size-prefix

zstyle ':omz:plugins:eza' 'size-prefix' (binary|none|si)

Choose the prefix to be used in displaying file size:

Default: si

time-style

zstyle ':omz:plugins:eza' 'time-style' $TIME_STYLE

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.

zstyle ':omz:plugins:eza' 'header' yes|no

If yes, always add --hyperlink flag to create hyperlink with escape codes.

Default: no

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)