Skip to content

Instantly share code, notes, and snippets.

@adorsk
Created March 18, 2019 21:48
Show Gist options
  • Save adorsk/aa017f7aa405f84cac56b0d0ea3ed2bf to your computer and use it in GitHub Desktop.
Save adorsk/aa017f7aa405f84cac56b0d0ea3ed2bf to your computer and use it in GitHub Desktop.
source ~/.zplug/init.zsh
zplug "plugins/git", from:oh-my-zsh
zplug "plugins/tmux", from:oh-my-zsh
zplug "themes/robbyrussell", from:oh-my-zsh
ZSH_THEME="robbyrussell"
zplug load
# oh-my-zsh config.
export ZSH=$HOME/.oh-my-zsh
plugins=(git tmux)
source $ZSH/oh-my-zsh.sh
# User configuration
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
export PATH="$PATH:$HOME/bin"
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
export PATH="/home/adorsk/.miniconda3/bin:$PATH"
if [ "${PATH#*/snap/bin}" = "${PATH}" ]; then
export PATH=$PATH:/snap/bin
fi
source $HOME/.cargo/env
export N_PREFIX="$HOME/.n"; [[ :$PATH: == *":$N_PREFIX/bin:"* ]] || PATH+=":$N_PREFIX/bin" # Added by n-install (see http://git.io/n-install-repo).
alias blist='for k in `git branch | perl -pe s/^..//`; do echo -e `git show --pretty=format:"%Cgreen%ci %Cblue%cr%Creset" $k -- | head -n 1`\\t$k; done | sort -r'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment