From bbe05e116b2f57bc9d85b2c38e181ca62ff20b61 Mon Sep 17 00:00:00 2001 From: essmahr Date: Mon, 18 Jan 2016 22:27:30 -0800 Subject: [PATCH] zshrc with some oh-my-zsh and scm_breeze --- .exports | 3 +++ .zshrc | 31 +++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 .zshrc diff --git a/.exports b/.exports index 602750c..a8dd0e7 100644 --- a/.exports +++ b/.exports @@ -1,6 +1,9 @@ # Make Sublime the default editor. export EDITOR='subl'; +#for subl command +export PATH=$PATH:$HOME/bin + # Prefer US English and use UTF-8. export LANG='en_US.UTF-8'; export LC_ALL='en_US.UTF-8'; diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..12622b2 --- /dev/null +++ b/.zshrc @@ -0,0 +1,31 @@ +export ZSH=/Users/smahr/.oh-my-zsh + +ZSH_THEME="agnoster" + +# User configuration for agnoster theme +DEFAULT_USER="smahr" + +# Enable command auto-correction. +ENABLE_CORRECTION="true" + +# display red dots whilst waiting for completion. +COMPLETION_WAITING_DOTS="true" + +# plugins=(rails git textmate ruby lighthouse) + +export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" +# export MANPATH="/usr/local/man:$MANPATH" + +source $ZSH/oh-my-zsh.sh + +# Source relevent dotfiles +for file in ~/.{aliases,exports,functions}; do + [ -r "$file" ] && [ -f "$file" ] && source "$file"; +done; +unset file; + +# TODO: where do these go +[ -s "/Users/smahr/.scm_breeze/scm_breeze.sh" ] && source "/Users/smahr/.scm_breeze/scm_breeze.sh" + +export NVM_DIR="/Users/smahr/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm