Created
March 2, 2016 00:40
-
-
Save magarcia/48a55b26c0750669abe4 to your computer and use it in GitHub Desktop.
This file contains 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
# load zgen | |
source "${HOME}/proj/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 | |
zgen load /path/to/super-secret-private-plugin | |
# bulk load | |
zgen loadall <<EOPLUGINS | |
zsh-users/zsh-history-substring-search | |
/path/to/local/plugin | |
EOPLUGINS | |
# ^ can't indent this EOPLUGINS | |
# completions | |
zgen load zsh-users/zsh-completions src | |
# theme | |
zgen oh-my-zsh themes/arrow | |
# save all to init script | |
zgen save | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment