diff options
author | June McEnroe <june@causal.agency> | 2016-04-29 11:04:30 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2016-04-29 11:04:30 -0400 |
commit | d39a3a1cfd0cb9e7865dc0adbfb1333314143762 (patch) | |
tree | 69120b001d7f91520361d8c9d475b8eb72dbb624 | |
parent | Remove explicit syntax/filetype on (diff) | |
download | src-d39a3a1cfd0cb9e7865dc0adbfb1333314143762.tar.gz src-d39a3a1cfd0cb9e7865dc0adbfb1333314143762.zip |
Test for linux instead
-rw-r--r-- | .zshrc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.zshrc b/.zshrc index 9ec45b04..e9200413 100644 --- a/.zshrc +++ b/.zshrc @@ -15,9 +15,9 @@ export EDITOR=vim GIT_EDITOR=vim type nvim > /dev/null && EDITOR=nvim GIT_EDITOR=nvim && alias vim=nvim export GPG_TTY=$TTY -[[ "$OSTYPE" =~ 'darwin|bsd' ]] && alias bsd=true || alias bsd=false -bsd && export CLICOLOR=1 || alias ls='ls --color' grep='grep --color' -bsd || alias rm='rm -I' +export CLICOLOR=1 +[[ "$OSTYPE" = 'linux-gnu' ]] && + alias ls='ls --color' grep='grep --color' rm='rm -I' alias gcl='git clone' alias gs='git status -sb' |