Fix aliases not working correctly due to being overwritten by zsh
This commit is contained in:
parent
7ff2100a65
commit
5ee4981cbf
2 changed files with 5 additions and 8 deletions
|
@ -1,18 +1,10 @@
|
||||||
# ===
|
# ===
|
||||||
# Directory listing
|
# Directory listing
|
||||||
# ===
|
# ===
|
||||||
# command -v exa >/dev/null 2>&1
|
|
||||||
# if [ $? -eq 0 ]; then
|
|
||||||
alias ea='exa -lah'
|
alias ea='exa -lah'
|
||||||
alias ee='exa -lh'
|
alias ee='exa -lh'
|
||||||
alias esa='exa -a'
|
alias esa='exa -a'
|
||||||
alias es='exa'
|
alias es='exa'
|
||||||
# else
|
|
||||||
alias la='ls -lahf'
|
|
||||||
alias ll='ls -lhf'
|
|
||||||
alias lsa='ls -af'
|
|
||||||
alias ls='ls -f --color=tty'
|
|
||||||
# fi
|
|
||||||
|
|
||||||
# ===
|
# ===
|
||||||
# Software
|
# Software
|
||||||
|
|
5
.zshrc
5
.zshrc
|
@ -61,3 +61,8 @@ fi
|
||||||
if [ -x "$(command -v zoxide)" ]; then
|
if [ -x "$(command -v zoxide)" ]; then
|
||||||
eval "$(zoxide init zsh)"
|
eval "$(zoxide init zsh)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
alias ls='ls --color=tty'
|
||||||
|
alias la='ls -lah'
|
||||||
|
alias ll='ls -lh'
|
||||||
|
alias lsa='ls -a'
|
||||||
|
|
Loading…
Reference in a new issue