summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.zshrc13
1 files changed, 10 insertions, 3 deletions
diff --git a/.zshrc b/.zshrc
index 1db1009..bf56017 100755
--- a/.zshrc
+++ b/.zshrc
@@ -280,9 +280,16 @@ alias sdudiscord="wget -O discord.tar.gz \"https://discord.com/api/download?plat
# alias saty="sudo apt autoremove -y"
# alias sagt="sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo youtube-dl --update && wget -O - https://raw.githubusercontent.com/laurent22/joplin/master/Joplin_install_and_update.sh | bash"
-alias ll="la -alF"
-alias la="ls -A"
-alias l="ls -CF"
+if [[ -x "$(command -v exa)" ]]; then
+ alias ll="exa --icons --group-directories-first --git --time-style long-iso -labh"
+ alias lk="exa --icons --group-directories-first --git --time-style long-iso -labhTL"
+ alias l.="exa --icons --group-directories-first --git --time-style long-iso -labhTL 2"
+ alias l="exa --icons --group-directories-first --time-style long-iso -abh"
+else
+ alias ll="la -alF"
+ alias la="ls -A"
+ alias l="ls -CF"
+fi
alias q="exit"
alias x="exit"