diff options
author | June McEnroe <june@causal.agency> | 2014-05-15 23:14:40 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2014-05-15 23:14:40 -0400 |
commit | cbb5e95592cdebe545874eb0de881cb4194315ae (patch) | |
tree | 91be0504afe61c965848cd1fcbeae434c3878148 /.zshrc | |
parent | Heavily comment .vimrc (diff) | |
download | src-cbb5e95592cdebe545874eb0de881cb4194315ae.tar.gz src-cbb5e95592cdebe545874eb0de881cb4194315ae.zip |
Add OS X specific shell configurations
Diffstat (limited to '')
-rw-r--r-- | .zshrc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc index 4504d8b9..fa2d600c 100644 --- a/.zshrc +++ b/.zshrc @@ -1,3 +1,11 @@ +# Detect platform +if [[ "$(uname)" == "Darwin" ]]; then + function osx { true } +else + function osx { false } +fi + +# Basic zsh config HISTFILE=~/.histfile HISTSIZE=5000 SAVEHIST=5000 @@ -59,7 +67,9 @@ source ~/.zsh/aliases.zsh # Environment -EDITOR=vim +export EDITOR=vim +osx && PATH=$PATH:~/bin +osx && export CLICOLOR=1 # Prompt |