~gagbo/cz-dotfiles

e535c787fa5f1e66d820cc5ec20f98e8316e9072 — Gerry Agbobada 7 months ago 177eb38
Replace exa with eza
2 files changed, 9 insertions(+), 9 deletions(-)

M home/dot_config/fish/config.fish
M home/dot_config/zsh/aliasrc
M home/dot_config/fish/config.fish => home/dot_config/fish/config.fish +5 -5
@@ 49,11 49,11 @@ end
alias dr 'disown -r'

# Folder information
if command -q exa
  alias lll 'exa -laFhSg --icons'
  alias ll 'exa -l -g --icons'
  alias la 'exa -l -a --icons'
  alias tree 'exa -T'
if command -q eza
  alias lll 'eza -laFhSg --icons'
  alias ll 'eza -l -g --icons'
  alias la 'eza -l -a --icons'
  alias tree 'eza -T'
end

# Common folders

M home/dot_config/zsh/aliasrc => home/dot_config/zsh/aliasrc +4 -4
@@ 27,15 27,15 @@ fi

alias dr='disown -r'

if (( $+commands[exa] )); then
	alias ls='exa' # just replace ls by exa and allow all other exa arguments
if (( $+commands[eza] )); then
	alias ls='eza' # just replace ls by exa and allow all other exa arguments
	alias l='ls -lbF' #   list, size, type
	alias ll='ls -la' # long, all
	alias llm='ll --sort=modified' # list, long, sort by modification date
	alias la='ls -lbhHigUmuSa' # all list
	alias lx='ls -lbhHigUmuSa@' # all list and extended
	alias tree='exa --tree' # tree view
	alias lS='exa -1' # one column by just names
	alias tree='eza --tree' # tree view
	alias lS='eza -1' # one column by just names
fi

# vim: set filetype=zsh :