Created
May 4, 2015 15:16
-
-
Save lynndylanhurley/6a1c1e3a0607e221074b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if [ "$TMUX" ] || [ ! $ZSHRC_LOADED ] || [ "$NVIM_LISTEN_ADDRESS" ] | |
| then | |
| # os x specifics | |
| case "$(uname -s)" in | |
| Darwin) | |
| export PATH=$HOME/tools/bin:$HOME/bin:/usr/local/share/npm/bin:$PATH | |
| # system stuff | |
| export PATH=$PATH:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin | |
| # cairo (node sprite generation) | |
| export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/X11/lib/pkgconfig | |
| #adt | |
| export PATH=/opt/adt-bundle-mac-x86_64/sdk/tools:$PATH | |
| # npm hack | |
| export PATH=`npm config get prefix`/bin:$PATH | |
| export PATH=node_modules/.bin:$PATH | |
| export NODE_PATH=$NODE_PATH:/usr/local/lib/node_modules | |
| # rbenv | |
| export PATH=$RBENV_ROOT/.rbenv/bin:$PATH | |
| eval "$(rbenv init -)" | |
| # adobe font tools | |
| # Initialization for FDK command line tools.Mon Feb 4 10:57:24 2013 | |
| export FDK_EXE="/Users/lynnhurley/bin/FDK/Tools/osx" | |
| export PATH=$PATH:"/Users/lynnhurley/bin/FDK/Tools/osx" | |
| # supercollider | |
| export PATH=$PATH:"/Applications/SuperCollider/SuperCollider.app/Contents/Resources/" | |
| # for datomic + clojure stuff | |
| export LEIN_JAVA_CMD=drip | |
| # increase concurrent open file limit | |
| ulimit -n 9999 | |
| # nginx needs to bind to port 80 so must run as /Library/LaunchDaemon with sudo | |
| alias start-nginx='sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.nginx.plist' | |
| alias stop-nginx='sudo launchctl unload /Library/LaunchDaemons/homebrew.mxcl.nginx.plist' | |
| esac | |
| vim() | |
| { | |
| if (( $+commands[reattach-to-user-namespace] )); then | |
| # see: https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard | |
| command reattach-to-user-namespace nvim "$@" | |
| else | |
| command nvim "$@" | |
| fi | |
| } | |
| # tmuxinator | |
| export EDITOR=nvim | |
| export TERM=screen-256color | |
| [ -f ~/bin/tmuxinator.zsh ] && source ~/bin/tmuxinator.zsh | |
| # golang | |
| export GOROOT=/usr/local/go | |
| export GOBIN=$GOROOT/bin | |
| export GOPATH=$HOME/gocode | |
| export PATH=$GOPATH/bin:$GOBIN:$PATH | |
| export ZSHRC_LOADED=true | |
| ### Added by the Heroku Toolbelt | |
| export PATH="/usr/local/heroku/bin:$PATH" | |
| # antigen | |
| [ -f ~/.antigen/antigen.zsh ] && source ~/.antigen/antigen.zsh | |
| # main repo (robyrussel) | |
| antigen use oh-my-zsh | |
| # finalize antigen | |
| antigen apply | |
| # go zsh support | |
| [ -f /usr/local/go/misc/zsh/go ] && source /usr/local/go/misc/zsh/go | |
| fi | |
| # fzf | |
| [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh | |
| # added by travis gem | |
| [ -f /Users/lynn/.travis/travis.sh ] && source /Users/lynn/.travis/travis.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment