Skip to content

Instantly share code, notes, and snippets.

@parnurzeal
Created June 17, 2018 03:08
Show Gist options
  • Save parnurzeal/d3c9ea167d7ec63e44f7094308dfd609 to your computer and use it in GitHub Desktop.
Save parnurzeal/d3c9ea167d7ec63e44f7094308dfd609 to your computer and use it in GitHub Desktop.
My .zshrc file
##### Set PATH #####
# Homebrew
export PATH="$PATH:$HOME/homebrew/bin"
# My Bin
export PATH="$PATH:$HOME/bin"
####################
##### Add preminalry scripts & dependencies #####
# Add Homeshick
if [[ ! -d "$HOME/.homesick/repos/homeshick" ]]; then
git clone git://github.com/andsens/homeshick.git $HOME/.homesick/repos/homeshick
fi
source "$HOME/.homesick/repos/homeshick/homeshick.sh"
# Add Antigen
if [[ ! -f "$HOME/.antigen.zsh" ]]; then
curl -L git.io/antigen > "$HOME/.antigen.zsh"
fi
source "$HOME/.antigen.zsh"
#################################################
##### Antigen #####
antigen use oh-my-zsh
# My custom
antigen bundle $HOME/.zsh-custom/00_presetting --no-local-clone
antigen bundle $HOME/.zsh-custom/git --no-local-clone
antigen bundle $HOME/.zsh-custom/google-cloud-sdk --no-local-clone
# Non-custom
antigen bundle lukechilds/zsh-nvm
# Set a theme
antigen theme intheloop
antigen apply
###################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment