Skip to content

Instantly share code, notes, and snippets.

@elliotec
Created August 6, 2018 22:39
Show Gist options
  • Save elliotec/7499c598f9d2cb041dc4d3c44a0c9b63 to your computer and use it in GitHub Desktop.
Save elliotec/7499c598f9d2cb041dc4d3c44a0c9b63 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 ez="nvim ~/.zshrc"
alias ev="nvim ~/.config/nvim/init.vim"
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 vi='nvim'
alias dots='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
alias gg='git log --graph --full-history --all'
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 navstop="nav stop allosaurus; nav stop medusa; nav stop nav_web; nav stop zuul; nav stop lexcorp; nav stop core; nav stop relevant_paths"
alias navsetup="nav setup medusa; nav start medusa; nav setup allosaurus; nav stop medusa; nav setup nav_web; nav setup zuul; nav setup lexcorp; nav setup core nav stop relevant_paths"
alias navstart="nav start allosaurus --no-mount; nav start nav_web; nav start zuul; nav start lexcorp; nav start core; nav start relevant_paths"
alias navupdate="nav update allosaurus; nav update medusa; nav update nav_web; nav update zuul; nav update lexcorp; nav update core; nav update relevant_paths"
alias navrestart="nav restart allosaurus; nav restart nav_web; nav restart zuul; nav restart lexcorp; nav restart core; nav restart relevant_paths"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment