From 5ee4981cbf80d71521b329f82409f013dc05a292 Mon Sep 17 00:00:00 2001 From: DustVoice Date: Mon, 29 Mar 2021 14:07:35 +0200 Subject: [PATCH] Fix aliases not working correctly due to being overwritten by zsh --- .zsh_alias | 8 -------- .zshrc | 5 +++++ 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.zsh_alias b/.zsh_alias index 5978c14..ea773ea 100644 --- a/.zsh_alias +++ b/.zsh_alias @@ -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 diff --git a/.zshrc b/.zshrc index 70efe38..bca7844 100644 --- a/.zshrc +++ b/.zshrc @@ -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'