Skip to content

Instantly share code, notes, and snippets.

@hsingh23
Created July 17, 2016 16:59
Show Gist options
  • Save hsingh23/e9cd53bd711dff364cd5655d5b512f23 to your computer and use it in GitHub Desktop.
Save hsingh23/e9cd53bd711dff364cd5655d5b512f23 to your computer and use it in GitHub Desktop.
Harsh's oh my zsh like zplug zshrc
# Check if zplug is installed
if [[ ! -d ~/.zplug ]]; then
git clone https://github.com/zplug/zplug ~/.zplug
source ~/.zplug/init.zsh && zplug update --self
fi
# Essential
source ~/.zplug/init.zsh
# Make sure to use double quotes to prevent shell expansion
zplug "zsh-users/zsh-completions"
zplug "zsh-users/zsh-history-substring-search"
zplug "zsh-users/zsh-syntax-highlighting"
# zplug "jimmijj/zsh-syntax-highlighting"
zplug "tcnksm/docker-alias", use:zshrc
zplug "rupa/z", use:z.sh
zplug "plugins/git", from:oh-my-zsh, as:plugin
zplug "b4b4r07/enhancd", use:enhancd.sh
zplug "themes/robbyrussell", from:oh-my-zsh
zplug "rimraf/k"
zplug "djui/alias-tips"
# zplug "junegunn/fzf-bin", from:gh-r, as:command, rename-to:fzf, use:"*linux*amd64*"
# zplug "junegunn/fzf", use:shell/key-bindings.zsh
zplug "b4b4r07/emoji-cli", use:emoji-cli.zsh
# # zplug "mrowa44/emojify", as:command, of:emojify
# zplug "sindresorhus/pure"
# Add a bunch more of your favorite packages!
# Install packages that have not been installed yet
if ! zplug check --verbose; then
printf "Install? [y/N]: "
if read -q; then
echo; zplug install
else
echo
fi
fi
zplug load
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment