-
-
Save shoemoney/1540e72bd6a5b941760c2e0a2ed1b677 to your computer and use it in GitHub Desktop.
using zplug in zsh
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 [[ ! -d ~/.zplug ]];then | |
| git clone https://github.com/zplug/zplug ~/.zplug | |
| fi | |
| source ~/.zplug/init.zsh | |
| zplug "plugins/git", from:oh-my-zsh | |
| zplug "plugins/git", from:oh-my-zsh | |
| zplug "plugins/sudo", from:oh-my-zsh | |
| zplug "plugins/command-not-found", from:oh-my-zsh | |
| zplug "zsh-users/zsh-syntax-highlighting" | |
| zplug "zsh-users/zsh-history-substring-search" | |
| zplug "zsh-users/zsh-completions" | |
| zplug "themes/robbyrussell", from:oh-my-zsh, as:theme | |
| if ! zplug check --verbose; then | |
| printf "Install? [y/N]: " | |
| if read -q; then | |
| echo; zplug install | |
| fi | |
| fi | |
| zplug load --verbose | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment