Skip to content

Instantly share code, notes, and snippets.

@yen3
Created October 10, 2016 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yen3/d49555a4013c368edb6012c4021ffb69 to your computer and use it in GitHub Desktop.
Save yen3/d49555a4013c368edb6012c4021ffb69 to your computer and use it in GitHub Desktop.
Try set zshrc with zplug
source ~/.zplug/init.zsh
zplug "zplug/zplug"
#zplug "zsh-users/zsh-history-substring-search"
#zplug "zsh-users/zsh-completions"
#zplug "zsh-users/zsh-syntax-highlighting"
# Prezto
zplug "modules/prompt", from:prezto
zstyle ':prezto:module:prompt' theme 'yen3'
zplug "modules/command-not-found", from:prezto
zplug "modules/completion", from:prezto
zplug "modules/directory", from:prezto
zplug "modules/environment", from:prezto
zplug "modules/fasd", from:prezto
zplug "modules/git", from:prezto
zplug "modules/gnu-utility", from:prezto
zplug "modules/haskell", from:prezto
zplug "modules/history-substring-search", from:prezto
zplug "modules/history", from:prezto
zplug "modules/homebrew", from:prezto
zplug "modules/osx", from:prezto
zplug "modules/python", from:prezto
zplug "modules/ssh", from:prezto
zplug "modules/syntax-highlighting", from:prezto
zplug "modules/terminal", from:prezto
zplug "modules/tmux", from:prezto
zplug "modules/utility", from:prezto
if ! zplug check --verbose; then
printf "Install? [y/N]: "
if read -q; then
echo; zplug install
fi
fi
zplug load
#source /Users/yen3/Documents/rc_sky/rc/zsh_bak/zshrc/prezto/prompt_yen3_setup
###############################################################################
# Personal setting
###############################################################################
export ZSH_CUSTOM_SETTING_PATH=$HOME/.zshrc_custom
export PATH=$PATH:$HOME/.yen3_scripts
export EDITOR=vim
alias ls='ls --color'
alias grep='grep --color=auto'
alias ack='ack --color-match=green'
alias ll='ls -al'
alias neovim='nvim'
alias cask='brew cask'
alias ag='ag --nogroup'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment