summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2016-04-12 18:58:02 -0400
committerJune McEnroe <june@causal.agency>2016-04-12 18:58:02 -0400
commitbfc3cc0aa626db077570bbad5f7779fb3d54427d (patch)
treeea3a19c4a6ceae4f22c967af3293439ca6cfbeda
parentUse default pinentry and set GPG_TTY (diff)
downloadsrc-bfc3cc0aa626db077570bbad5f7779fb3d54427d.tar.gz
src-bfc3cc0aa626db077570bbad5f7779fb3d54427d.zip
Detect Darwin or *BSD for aliases
Diffstat (limited to '')
-rw-r--r--.zshrc8
1 files changed, 4 insertions, 4 deletions
diff --git a/.zshrc b/.zshrc
index a0b34c32..02ca821c 100644
--- a/.zshrc
+++ b/.zshrc
@@ -15,10 +15,10 @@ export EDITOR=vim GIT_EDITOR=vim
 type nvim > /dev/null && EDITOR=nvim GIT_EDITOR=nvim && alias vim=nvim
 export GPG_TTY=$TTY
 
-[[ "$OSTYPE" =~ 'darwin' ]] && alias osx=true || alias osx=false
-osx && export CLICOLOR=1 || alias ls='ls --color' grep='grep --color'
-osx || alias rm='rm -I'
-osx && alias gvim=mvim
+[[ "$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'
+bsd && alias gvim=mvim
 
 alias gcl='git clone'
 alias gs='git status -sb'