Skip to content

Instantly share code, notes, and snippets.

@habdenscrimen
Created June 19, 2019 13:57
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 habdenscrimen/43b418811a27b8138ea6f798eba0dbd6 to your computer and use it in GitHub Desktop.
Save habdenscrimen/43b418811a27b8138ea6f798eba0dbd6 to your computer and use it in GitHub Desktop.
export ZSH="/Users/viacheslav/.oh-my-zsh"
# Go development
export GOPATH="${HOME}/.go"
export GOROOT="$(brew --prefix golang)/libexec"
export PATH="$PATH:${GOPATH}/bin:${GOROOT}/bin"
test -d "${GOPATH}" || mkdir "${GOPATH}"
test -d "${GOPATH}/src/github.com" || mkdir -p "${GOPATH}/src/github.com"
eval $(thefuck --alias)
ZSH_THEME="spaceship"
plugins=(
zsh-autosuggestions
)
source $ZSH/oh-my-zsh.sh
export EDITOR='code'
alias zshrc="code ~/.zshrc"
alias c="code ."
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment