summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <curtis.mcenroe@adgear.com>2016-04-29 11:04:30 -0400
committerJune McEnroe <curtis.mcenroe@adgear.com>2016-04-29 11:04:30 -0400
commitbe9f2f695ae040f064b7da4fa09cb05d75ff5601 (patch)
tree2c63eabe773e1d27645a8a1f8726c162fb1c4066
parentRemove explicit syntax/filetype on (diff)
downloadsrc-be9f2f695ae040f064b7da4fa09cb05d75ff5601.tar.gz
src-be9f2f695ae040f064b7da4fa09cb05d75ff5601.zip
Test for linux instead
Diffstat (limited to '')
-rw-r--r--.zshrc6
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'