Last active
March 6, 2019 07:33
-
-
Save Jung0/a14a90305e28b0201baeb786d397f4bf to your computer and use it in GitHub Desktop.
zplugの導入 oh-my-zshのような設定にするまで。 ref: https://qiita.com/Jung0/items/300f8b83520e56766f22
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
$ cp .zshrc .zshrc.before |
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
$ uninstall_oh_my_zsh |
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
$ curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh| zsh |
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
# zplug | |
source ~/.zplug/init.zsh | |
zplug 'zplug/zplug', hook-build:'zplug --self-manage' | |
# theme (https://github.com/sindresorhus/pure#zplug) 好みのスキーマをいれてくだされ。 | |
zplug "mafredri/zsh-async" | |
zplug "sindresorhus/pure" | |
# 構文のハイライト(https://github.com/zsh-users/zsh-syntax-highlighting) | |
zplug "zsh-users/zsh-syntax-highlighting" | |
# history関係 | |
zplug "zsh-users/zsh-history-substring-search" | |
# タイプ補完 | |
zplug "zsh-users/zsh-autosuggestions" | |
zplug "zsh-users/zsh-completions" | |
zplug "chrissicool/zsh-256color" | |
# Install plugins if there are plugins that have not been installed | |
if ! zplug check --verbose; then | |
printf "Install? [y/N]: " | |
if read -q; then | |
echo; zplug install | |
fi | |
fi | |
# Then, source plugins and add commands to $PATH | |
zplug load |
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
# zplug | |
source ~/.zplug/init.zsh | |
zplug 'zplug/zplug', hook-build:'zplug --self-manage' | |
# theme (https://github.com/sindresorhus/pure#zplug) 好みのスキーマをいれてくだされ。 | |
zplug "mafredri/zsh-async" | |
zplug "sindresorhus/pure" | |
# 構文のハイライト(https://github.com/zsh-users/zsh-syntax-highlighting) | |
zplug "zsh-users/zsh-syntax-highlighting" | |
# history関係 | |
zplug "zsh-users/zsh-history-substring-search" | |
# タイプ補完 | |
zplug "zsh-users/zsh-autosuggestions" | |
zplug "zsh-users/zsh-completions" | |
zplug "chrissicool/zsh-256color" | |
# Install plugins if there are plugins that have not been installed | |
if ! zplug check --verbose; then | |
printf "Install? [y/N]: " | |
if read -q; then | |
echo; zplug install | |
fi | |
fi | |
# Then, source plugins and add commands to $PATH | |
zplug load |
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
HISTFILE=$HOME/.zsh_history | |
HISTSIZE=10000 | |
SAVEHIST=10000 | |
alias ls="ls -G" | |
alias la="ls -a" | |
alias ll="ls -lh" |
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
HISTFILE=$HOME/.zsh_history | |
HISTSIZE=10000 | |
SAVEHIST=10000 | |
alias ls="ls -G" | |
alias la="ls -a" | |
alias ll="ls -lh" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment