From ebf9f0434452aa7198f20162b40ea2eca0efcf7a Mon Sep 17 00:00:00 2001 From: Mohammad Al Zouabi Date: Sat, 18 May 2024 17:26:46 +0800 Subject: [PATCH] feat(Brewfile): use `eza` --- custom/aliases.zsh | 4 ++-- setup/Brewfile | 1 + synced/symlink/.zshrc | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/custom/aliases.zsh b/custom/aliases.zsh index eff855d..4ac75fc 100644 --- a/custom/aliases.zsh +++ b/custom/aliases.zsh @@ -5,9 +5,9 @@ alias cddl="cd ~/Downloads" alias cddf="cd $DOTFILES" alias cdd="cd ~/dev" -# Always enable colored `grep` & `ls` output alias grep='grep --color=auto' -alias ls='ls --color=auto' + +alias ls='eza' alias cat='bat' alias -g -- -h='-h 2>&1 | bat --language=help --style=plain' diff --git a/setup/Brewfile b/setup/Brewfile index ba70145..ef860b3 100644 --- a/setup/Brewfile +++ b/setup/Brewfile @@ -42,6 +42,7 @@ brew 'gmp' # Install other useful binaries. brew 'atuin' brew 'bat' +brew 'eza' brew 'fd' brew 'fzf' brew 'ripgrep' diff --git a/synced/symlink/.zshrc b/synced/symlink/.zshrc index 39e9baa..c517046 100644 --- a/synced/symlink/.zshrc +++ b/synced/symlink/.zshrc @@ -56,7 +56,7 @@ export ZSH_AUTOSUGGEST_MANUAL_REBIND="true" zstyle ':omz:update' mode disabled zstyle ':completion:*' menu no -zstyle ':fzf-tab:complete:cd:*' fzf-preview 'ls -1 --color=always $realpath' +zstyle ':fzf-tab:complete:cd:*' fzf-preview 'eza -1 --color=always $realpath' # Load oh-my-zsh source "$ZSH/oh-my-zsh.sh"