Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@vzhong
Created May 28, 2015 03:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vzhong/7e65d67b90f67d7c9bfd to your computer and use it in GitHub Desktop.
Save vzhong/7e65d67b90f67d7c9bfd to your computer and use it in GitHub Desktop.
if [[ $- == *i* ]]
then
echo "Hello!"
else
exit 0
fi
# load zgen
source "${HOME}/config/zgen/zgen.zsh"
# # check if there's no init script
if ! zgen saved; then
echo "Creating a zgen save"
zgen oh-my-zsh
# plugins
zgen oh-my-zsh plugins/git
zgen oh-my-zsh plugins/sudo
zgen oh-my-zsh plugins/command-not-found
zgen load zsh-users/zsh-syntax-highlighting
# completions
zgen load zsh-users/zsh-completions src
# theme
zgen oh-my-zsh themes/dst
# save all to init script
zgen save
fi
source ~/.funcrc
if [ -f ~/.localrc ]; then
source ~/.localrc
fi
source ~/.pathrc
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment