Skip to content

Instantly share code, notes, and snippets.

@adaam2
Last active December 9, 2019 17:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adaam2/35f4bcd573258de2e0a285ee0e7b5a2f to your computer and use it in GitHub Desktop.
Save adaam2/35f4bcd573258de2e0a285ee0e7b5a2f to your computer and use it in GitHub Desktop.
#
# Executes commands at the start of an interactive session.
#
# Source Prezto.
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi
COMPLETION_WAITING_DOTS="true"
# Source existing aliases
source ~/.aliases
# golang
export GOPATH="/Users/adambull/go"
export GOBIN=$GOPATH/bin
export GO111MODULE="on"
export PATH="$PATH:${GOPATH}/bin:${GOROOT}/bin"
#Add rbenv
eval "$(rbenv init -)"
export FZF_BASE='/usr/local/bin'
export FZF_DEFAULT_COMMAND='ag --no-color --ignore node_modules --ignore vendor --ignore s3-outputs -g ""'
export FZF_DEFAULT_OPTS='--height 40% --layout=reverse --border'
export VISUAL=/usr/bin/vim
export EDITOR=/usr/bin/vim
export GOPATH=$HOME/go
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
export NVM_DIR="$HOME/.nvm"
[ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh" # This loads nvm
[ -s "/usr/local/opt/nvm/etc/bash_completion.d/nvm" ] && . "/usr/local/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
# Use go 1.12
export PATH="/usr/local/opt/go@1.12/bin:$PATH"
export PATH="/usr/local/opt/gettext/bin:$PATH"
fpath+=${ZDOTDIR:-~}/.zsh_functions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment