From 27d3b1a0df8b65957a0c5c02276b3157561261b5 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Wed, 7 Jan 2026 23:30:41 +0000 Subject: [PATCH] [shell-common] Use eza if available --- macos/.config/homebrew/Brewfile | 1 + macos/.config/shell-common/99_macos.sh | 3 --- shell-common/.config/shell-common/10_aliases.sh | 7 +++++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/macos/.config/homebrew/Brewfile b/macos/.config/homebrew/Brewfile index 0baf1f4..6064a0e 100644 --- a/macos/.config/homebrew/Brewfile +++ b/macos/.config/homebrew/Brewfile @@ -15,6 +15,7 @@ brew "awscli" brew "awslogs" brew "coreutils" brew "dockutil" +brew "eza" brew "felixkratz/formulae/borders" brew "fluxcd/tap/flux" brew "fzf" diff --git a/macos/.config/shell-common/99_macos.sh b/macos/.config/shell-common/99_macos.sh index 8c30707..9113ca7 100644 --- a/macos/.config/shell-common/99_macos.sh +++ b/macos/.config/shell-common/99_macos.sh @@ -125,6 +125,3 @@ if [ -d "/Applications/Tailscale.app" ]; then alias tailscale="/Applications/Tailscale.app/Contents/MacOS/Tailscale" alias ts="/Applications/Tailscale.app/Contents/MacOS/Tailscale" fi - -# Standard QoL stuff -alias ls="ls -FG" diff --git a/shell-common/.config/shell-common/10_aliases.sh b/shell-common/.config/shell-common/10_aliases.sh index 921bd49..5134a62 100644 --- a/shell-common/.config/shell-common/10_aliases.sh +++ b/shell-common/.config/shell-common/10_aliases.sh @@ -17,5 +17,12 @@ if [ -x "$(command -v tmux)" ]; then alias tma="tmux attach" fi +# Eza +if [ -x "$(command -v eza)" ]; then + alias ls="eza" + alias ll="eza -l --icons" + alias lla="eza -la --icons" +fi + alias last="last | head" alias dp="demoprompt"