Skip to content

Commit

Permalink
Support local zshenv via .zshenv.local
Browse files Browse the repository at this point in the history
  • Loading branch information
croaker committed Apr 3, 2014
1 parent de992e2 commit d922186
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions zshenv
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
# Add /usr/local and zshfiles' binaries
export PATH=~/.zshfiles/bin:/usr/local/bin:/usr/local/sbin:$PATH

# rbenv compatibility
if [ -d $HOME/.rbenv ]; then
export PATH=$HOME/.rbenv/bin:$HOME/.rbenv/shims:$PATH
eval "$(rbenv init -)"
fi
export PATH=bin:~/bin:~/.zshfiles/bin:/usr/local/bin:/usr/local/sbin:$PATH

# Ruby configs, if available
export RUBY_GC_HEAP_INIT_SLOTS=1000000
Expand All @@ -16,3 +10,7 @@ export RUBY_HEAP_FREE_MIN=500000

#Make <c-s> and <c-q> work
stty stop '' -ixon -ixoff


# Load local settings
[ -f "~/.zshenv.local" ] && source "~/.zshenv.local"

0 comments on commit d922186

Please sign in to comment.