From 01afddf4969e910cecab5ac260c5c2ac10042731 Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Sun, 2 Feb 2020 19:51:12 +0100 Subject: [PATCH] clicolor --- zsh/zshrc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/zsh/zshrc b/zsh/zshrc index 61123eb..849ce32 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -4,11 +4,7 @@ autoload -U promptinit && promptinit setopt correct_all zstyle ':completion:*' menu select -if [[ "$OSTYPE" == (darwin|freebsd)* ]]; then - alias ls='ls -G' -elif [[ "$OSTYPE" == linux* ]]; then - alias ls='ls --color=tty' -fi +export CLICOLOR=1 alias ll='ls -lh' source ~/.zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh @@ -20,4 +16,4 @@ source ~/.zsh/themes/powerlevel10k/powerlevel10k.zsh-theme FZF_DEFAULT_COMMAND='git ls-files --cached --others --exclude-standard | fd' FZF_DEFAULT_OPTS="-e --height 40% --preview='bat --color=always --tabs=2 --style=plain {}'" -[ -e ~/.zshrc.local ] && source ~/.zshrc.local \ No newline at end of file +[ -e ~/.zshrc.local ] && source ~/.zshrc.local