Last active
July 16, 2020 13:57
-
-
Save y-krn/2a8c47197273a2d0ca2a86d6778c666a to your computer and use it in GitHub Desktop.
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
export ZPLUG_HOME=/usr/local/opt/zplug | |
source $ZPLUG_HOME/init.zsh | |
# zshのフレームワーク | |
zplug "sorin-ionescu/prezto" | |
# prezto plugins | |
zplug "modules/environment", from:prezto | |
zplug "modules/terminal", from:prezto | |
zplug "modules/editor", from:prezto | |
zplug "modules/history", from:prezto | |
zplug "modules/directory", from:prezto | |
zplug "modules/spectrum", from:prezto | |
#zplug "modules/utility", from:prezto | |
zplug "modules/completion", from:prezto | |
zplug "modules/prompt", from:prezto | |
zplug "plugins/git", from:oh-my-zsh | |
# 履歴から補完 | |
zplug "zsh-users/zsh-autosuggestions" | |
zplug "zsh-users/zsh-completions" | |
zplug "zsh-users/zsh-syntax-highlighting", defer:2 | |
zplug "b4b4r07/enhancd", use:init.sh | |
if ! zplug check --verbose; then | |
printf 'Install? [y/N]: ' | |
if read -q; then | |
echo; zplug install | |
fi | |
fi | |
zplug load --verbose | |
# Source Prezto. | |
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then | |
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" | |
fi | |
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh | |
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. | |
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh | |
# pyenv | |
if command -v pyenv 1>/dev/null 2>&1; then | |
eval "$(pyenv init -)" | |
fi | |
# rbenv | |
[[ -d ~/.rbenv ]] && \ | |
export PATH=${HOME}/.rbenv/bin:${PATH} && \ | |
eval "$(rbenv init -)" | |
[[ -d ~/go/bin ]] && \ | |
export PATH=${HOME}/go/bin:${PATH} | |
clear |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment