Skip to content

Commit

Permalink
Upgrade unmaintained exa to eza
Browse files Browse the repository at this point in the history
  • Loading branch information
ylogx committed Mar 18, 2024
1 parent 00bf50e commit 37e88ca
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions home/.bash_aliases
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ hash ipython2 2>/dev/null && alias ipy2='ipython2'
hash ipython3 2>/dev/null && alias ipy3='ipython3'
#alias j='jobs'
alias l='d; ls -ltrFhH'
hash exa 2>/dev/null && alias l='exa -lsnew'
hash exa 2>/dev/null && alias lexa='d; exa -bghHlS -s modified --git'
hash eza 2>/dev/null && alias l='eza -lsnew'
hash eza 2>/dev/null && alias leza='d; eza -bghHlS -s modified --git'
alias la='d; ls -lAtrFhH'
alias lsize='ls --sort=size -lhr' # list by size
alias lx='ls -lXB' # sort by extension
Expand Down
4 changes: 2 additions & 2 deletions home/.bash_functions
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ about () {
if [ -f "${1}" ] ; then
file -pk "${1}"
my_hex_dump "${1}"
hash exa || ls -ltrha --color "${1}" && exa -lsnew "${1}"
hash eza || ls -ltrha --color "${1}" && eza -lsnew "${1}"
else
type $1
#which $1
Expand All @@ -238,7 +238,7 @@ about () {
if [ -f "${filename_for_about_binary}" ]; then
my_hex_dump "${filename_for_about_binary}"
hash bat && bat -r 1:25 "${filename_for_about_binary}"
hash exa || ls -ltrha --color "${filename_for_about_binary}" && exa -lsnew "${filename_for_about_binary}"
hash eza || ls -ltrha --color "${filename_for_about_binary}" && eza -lsnew "${filename_for_about_binary}"
fi
fi
}
Expand Down
2 changes: 1 addition & 1 deletion playbooks/roles/osx/tasks/homebrew.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
- curl
- diff-so-fancy
- diskus # Better du
- exa # Better ls
- eza # Better ls
- fasd
- fd # Better find
- findutils
Expand Down
2 changes: 1 addition & 1 deletion playbooks/roles/ubuntu/tasks/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
state: present
name:
- bat
- exa
- eza
- hexyl
ignore_errors: true
tags: package
Expand Down

0 comments on commit 37e88ca

Please sign in to comment.