Skip to content

Instantly share code, notes, and snippets.

@ryanjohnston
Last active April 16, 2020 13:54
Show Gist options
  • Save ryanjohnston/39c24a90b601e554147524164707b5f1 to your computer and use it in GitHub Desktop.
Save ryanjohnston/39c24a90b601e554147524164707b5f1 to your computer and use it in GitHub Desktop.
# 2c7f00643f730285d05ed64f460ad075
export ZSH="/Users/ryanj/.oh-my-zsh"
# ZSH_THEME="robbyrussell"
# ZSH_THEME="gentoo"
ZSH_THEME="dieter"
# CASE_SENSITIVE="true"
# HYPHEN_INSENSITIVE="true"
# DISABLE_AUTO_UPDATE="true"
# DISABLE_UPDATE_PROMPT="true"
# export UPDATE_ZSH_DAYS=13
# DISABLE_MAGIC_FUNCTIONS=true
# DISABLE_LS_COLORS="true"
# DISABLE_AUTO_TITLE="true"
# ENABLE_CORRECTION="true"
# COMPLETION_WAITING_DOTS="true"
# DISABLE_UNTRACKED_FILES_DIRTY="true"
# HIST_STAMPS="mm/dd/yyyy"
# ZSH_CUSTOM=/path/to/new-custom-folder
plugins=(git common-aliases dash git git-extras git-hubflow git-remote-branch github gitignore history iterm2 ssh-agent tmux vscode nvm)
source $ZSH/oh-my-zsh.sh
# User configuration
export LANG=en_US.UTF-8
# Hub Config
eval "$(hub alias -s)"
# Preferred editor for local and remote sessions
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='vim'
else
export EDITOR='mvim'
fi
# NVM
# This loads nvm and then nvm bash_completion
export NVM_DIR="$HOME/.nvm"
[ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh"
[ -s "/usr/local/opt/nvm/etc/bash_completion.d/nvm" ] && . "/usr/local/opt/nvm/etc/bash_completion.d/nvm"
# Aliases
# alias zshconfig="vim ~/.zshrc"
source ~/.aliases
alias rm="/usr/local/bin/rmtrash"
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
export PATH="/usr/local/sbin:$PATH"
export PATH="/usr/local/opt/openjdk/bin:$PATH"
POWERLEVEL9K_PROMPT_ON_NEWLINE=true
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(dir newline vcs)
source /usr/local/opt/powerlevel9k/powerlevel9k.zsh-theme
## Ruby related config lines
# EQUIPFLIP
# export PATH="$HOME/.rbenv/bin:/Users/ryanj/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems:$PATH"
# WFCA
# export PATH="$HOME/.rbenv/bin:/Users/ryanj/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems:$PATH"
eval "$(rbenv init -)"
# export PATH="$HOME/.rbenv:$HOME/.rbenv/versions/2.1.2/bin:$HOME/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems:$PATH"
[ -f "/Users/ryanj/.shopify-app-cli/shopify.sh" ] && source "/Users/ryanj/.shopify-app-cli/shopify.sh"
# eval "$(starship init zsh)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment