Skip to content

Instantly share code, notes, and snippets.

@robherley
Created May 16, 2018 20:54
Show Gist options
  • Save robherley/da989aa86a14167f8aa64e1860a74ed5 to your computer and use it in GitHub Desktop.
Save robherley/da989aa86a14167f8aa64e1860a74ed5 to your computer and use it in GitHub Desktop.
# PATH
path+=(
$HOME/bin
/usr/local/bin
$HOME/go/bin
/usr/local/opt/go/libexec/bin
/usr/local/opt/qt/bin
/usr/local/mysql/bin
/usr/local/opt/python@2/libexec/bin:/usr/local/opt/python@2/bin
)
export PATH
# Aliases
alias start-ftp="sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist"
alias stop-ftp="sudo -s launchctl unload -w /System/Library/LaunchDaemons/ftp.plist"
alias py="python3"
alias web="cd ~/Documents/CS554"
alias ta="cd ~/Documents/ta-546/"
alias desk="cd ~/Desktop/"
alias lab="ssh rherley@shell.srcit.stevens-tech.edu"
alias dev="cd ~/dev/"
alias yams="cd ~/dev/yams/"
alias uber="cd ~/Library/Application\ Support/Übersicht/widgets/"
alias vim="nvim"
alias goapp="gcloud app"
alias winston="ssh rob@tidepod.fun"
# Antigen
source ~/antigen.zsh
# Load the oh-my-zsh's library.
antigen use oh-my-zsh
# Bundles from the default repo (robbyrussell's oh-my-zsh).
antigen bundle git
antigen bundle heroku
antigen bundle pip
antigen bundle npm
antigen bundle lein
antigen bundle command-not-found
# Custom zsh plugins
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle zsh-users/zsh-completions
antigen bundle lukechilds/zsh-nvm
antigen bundle akoenig/npm-run.plugin.zsh
# Load the theme.
antigen theme https://github.com/caiogondim/bullet-train-oh-my-zsh-theme bullet-train
BULLETTRAIN_PROMPT_CHAR="⌘ "
BULLETTRAIN_TIME_BG="black"
BULLETTRAIN_TIME_FG="white"
BULLETTRAIN_GIT_DIRTY="%F{red} ✖%F{black}"
BULLETTRAIN_GIT_CLEAN="%F{green} ✔ %F{black}"
BULLETTRAIN_GIT_MODIFIED="%F{blue} ✱%F{black}"
BULLETTRAIN_GIT_UNTRACKED="%F{yellow} ❖%F{black}"
BULLETTRAIN_PROMPT_ORDER=(
time
dir
git
cmd_exec_time
)
# Tell Antigen that you're done.
antigen apply
# Bluemix
source /usr/local/Bluemix/bx/zsh_autocomplete
# NVM
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
# OPAM configuration
. /Users/robherley/.opam/opam-init/init.zsh > /dev/null 2> /dev/null || true
# tabtab source for electron-forge package
# uninstall by removing these lines or running `tabtab uninstall electron-forge`
[[ -f /Users/robherley/.nvm/versions/node/v9.5.0/lib/node_modules/electron-forge/node_modules/tabtab/.completions/electron-forge.zsh ]] && . /Users/robherley/.nvm/versions/node/v9.5.0/lib/node_modules/electron-forge/node_modules/tabtab/.completions/electron-forge.zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment