Fix aliases not working correctly due to being overwritten by zsh

This commit is contained in:
David Holland 2021-03-29 14:07:35 +02:00
parent 7ff2100a65
commit 5ee4981cbf
Signed by: DustVoice
GPG key ID: 47068995A14EDCA9
2 changed files with 5 additions and 8 deletions

View file

@ -1,18 +1,10 @@
# ===
# Directory listing
# ===
# command -v exa >/dev/null 2>&1
# if [ $? -eq 0 ]; then
alias ea='exa -lah'
alias ee='exa -lh'
alias esa='exa -a'
alias es='exa'
# else
alias la='ls -lahf'
alias ll='ls -lhf'
alias lsa='ls -af'
alias ls='ls -f --color=tty'
# fi
# ===
# Software

5
.zshrc
View file

@ -61,3 +61,8 @@ fi
if [ -x "$(command -v zoxide)" ]; then
eval "$(zoxide init zsh)"
fi
alias ls='ls --color=tty'
alias la='ls -lah'
alias ll='ls -lh'
alias lsa='ls -a'