Created
May 28, 2015 03:32
-
-
Save vzhong/7e65d67b90f67d7c9bfd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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