Change exa to eza

This commit is contained in:
2023-09-10 03:40:05 -07:00
parent ec5aa2f2f9
commit 94c1c60820
2 changed files with 6 additions and 6 deletions

View File

@ -88,9 +88,9 @@ if cmd_exists bat; then
export MANROFFOPT="-c"
fi
# Exa configuration
if cmd_exists exa; then
alias ls="exa --git -F"
# Eza configuration
if cmd_exists eza; then
alias ls="eza --git -F"
alias la="ls -a"
alias l="ls -l"
alias ll="ls -al"
@ -239,8 +239,8 @@ zstyle ':completion:*:git-checkout:*' sort false
zstyle ':completion:*:descriptions' format '[%d]'
# Set list-colors to enable filename colorizing
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
# Preview directory's content with exa when completing cd
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'exa -1 --color=always $realpath'
# Preview directory's content with eza when completing cd
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'eza -1 --color=always $realpath'
# Remove the '.' prefix at the start of every completion
zstyle ':fzf-tab:*' prefix ''
# Switch groups