Skip to content

Instantly share code, notes, and snippets.

@shengyou
Created January 18, 2018 10:17
Show Gist options
  • Save shengyou/0e2c0c519d6c93a34407964f073fbd02 to your computer and use it in GitHub Desktop.
Save shengyou/0e2c0c519d6c93a34407964f073fbd02 to your computer and use it in GitHub Desktop.
# 從 Github 安裝
zplug "zsh-users/zsh-history-substring-search"
# 從 on-my-zsh 安裝
zplug "plugins/git", from:oh-my-zsh
# 指定 tag
zplug "b4b4r07/enhancd", at:v1
# 依作業系統載入
zplug "lib/clipboard", from:oh-my-zsh, if:"[[ $OSTYPE == *darwin* ]]"
# 排序安裝
zplug "zsh-users/zsh-syntax-highlighting", defer:2
# 安裝後觸發編譯
zplug "jhawthorn/fzy", \
as:command, \
rename-to:fzy, \
hook-build:"make && sudo make install"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment