diff options
| author | Thomas Schneider <qsx@chaotikum.eu> | 2024-02-12 17:18:59 +0100 |
|---|---|---|
| committer | Thomas Schneider <qsx@chaotikum.eu> | 2024-02-12 17:18:59 +0100 |
| commit | fe6eef275357d19f0073ba6877a242a8f6dc4163 (patch) | |
| tree | 495e3809444481f05ee1ab6a967eaa607f8f32ad | |
| parent | ebdd6b625e599b298cc04bf24d83887c41bd5370 (diff) | |
zsh: Use `eza` as ls(1) replacement if available
Keep the aliases using `exa` for old systems where `eza` is not available.
| -rw-r--r-- | dot.zshrc.local | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dot.zshrc.local b/dot.zshrc.local index 78ad718..f48bf28 100644 --- a/dot.zshrc.local +++ b/dot.zshrc.local @@ -77,6 +77,11 @@ if (( $+commands[exa] )); then alias l="exa -g -l --git" alias la="exa -g -la --git" fi +if (( $+commands[eza] )); then + alias ls="eza" + alias l="eza -g -l --git" + alias la="eza -g -la --git" +fi if (( $+commands[rsync] )); then alias rs="rsync -vahPi" fi |
