Skip to content

Instantly share code, notes, and snippets.

@elliotec
Created December 30, 2017 20:14
Show Gist options
  • Save elliotec/79394ddbf940c03241b377e82c1b49d2 to your computer and use it in GitHub Desktop.
Save elliotec/79394ddbf940c03241b377e82c1b49d2 to your computer and use it in GitHub Desktop.
# This file should be at
export ZSH=/Users/melliot/.oh-my-zsh
ZSH_THEME="robbyrussell"
ENABLE_CORRECTION="true"
COMPLETION_WAITING_DOTS="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(git zsh-autosuggestions)
source $ZSH/oh-my-zsh.sh
export EDITOR='nvim'
export SSH_KEY_PATH="~/.ssh/rsa_id"
export FZF_DEFAULT_COMMAND='ag --hidden --ignore .git --ignore node_modules --ignore .vim/plugged --ignore dist --ignore reports --ignore tmp -g ""'
alias zshrc="nvim ~/.zshrc"
alias lol="fortune -s | cowthink | lolcat"
alias showAll='defaults write com.apple.finder AppleShowAllFiles YES; killall Finder /System/Library/CoreServices/Finder.app'
alias hideAll='defaults write com.apple.finder AppleShowAllFiles NO; killall Finder /System/Library/CoreServices/Finder.app'
alias vim='nvim'
export GOROOT=/usr/local/opt/go/libexec
export GOPATH=$HOME/.go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
eval "$(rbenv init -)"
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
alias navdown="nav stop allosaurus; nav stop medusa; nav stop nav_web; nav stop zuul; nav stop lexcorp"
alias navsetup="nav setup medusa; nav start medusa; nav setup allosaurus; nav stop medusa; nav setup nav_web; nav setup zuul; nav setup lexcorp"
alias navup="nav start allosaurus --no-mount; nav start nav_web; nav start zuul; nav start lexcorp"
alias navupdate="nav update allosaurus; nav update medusa; nav update nav_web; nav update zuul; nav update lexcorp"
alias navrestart="nav restart allosaurus; nav restart nav_web; nav restart zuul; nav restart lexcorp"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment