Created
June 22, 2015 05:55
-
-
Save bigsan/730865b05e1cdccbff33 to your computer and use it in GitHub Desktop.
.zshrc using zgen
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}/.zgen/zgen/zgen.zsh" | |
ZSHRC="${HOME}/.zshrc" | |
# if this file is newer than init file | |
if ! zgen saved || [ "${ZSHRC}" -nt "${ZGEN_INIT}" ] ; 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 oh-my-zsh plugins/nvm | |
#zgen oh-my-zsh plugins/npm | |
zgen oh-my-zsh plugins/brew | |
zgen oh-my-zsh plugins/brew-cask | |
zgen oh-my-zsh plugins/sublime | |
zgen oh-my-zsh plugins/common-aliases | |
zgen oh-my-zsh plugins/osx | |
zgen oh-my-zsh plugins/web-search | |
zgen oh-my-zsh plugins/history-substring-search | |
zgen load zsh-users/zsh-syntax-highlighting | |
# completions | |
zgen load zsh-users/zsh-completions src | |
# theme | |
zgen oh-my-zsh themes/af-magic | |
# 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