Skip to content

Commit

Permalink
replace exa with eza
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Larson <[email protected]>
  • Loading branch information
LucasLarson committed Oct 26, 2023
1 parent 1039818 commit fb7be2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .config/zsh-abbr/user-abbreviations
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ abbr --global comnd='command'
abbr --global eixt='exit'

## find
abbr --global lf='exa --all --bytes --classify --color-scale --color=always --git --icons --long --no-permissions --no-user --octal-permissions --time-style=long-iso -- {} +'
abbr --global lf='eza --all --bytes --classify --color-scale --color=always --git --icons --long --no-permissions --no-user --octal-permissions --time-style=long-iso -- {} +'

## help
abbr --global ehlp='help'
Expand Down
6 changes: 3 additions & 3 deletions custom/aliases.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -1453,9 +1453,9 @@ identify() {
# list files
unalias -- 'ls' 2>/dev/null
unalias -- 'l' 2>/dev/null
if command exa --color=auto >/dev/null 2>&1; then
alias ls='command exa --color=auto'
alias l='command exa --color=auto --bytes --classify --git --header --icons --long --no-permissions --no-user --octal-permissions --time-style=long-iso'
if command eza --color=auto >/dev/null 2>&1; then
alias ls='command eza --color=auto'
alias l='command eza --color=auto --bytes --classify --git --header --icons --long --no-permissions --no-user --octal-permissions --time-style=long-iso'
elif command gls --color=auto >/dev/null 2>&1; then
alias ls='command gls --color=auto'
alias l='command gls --color=auto -AFgo --time-style=+%4Y-%m-%d\ %l:%M:%S\ %P'
Expand Down

0 comments on commit fb7be2a

Please sign in to comment.