Created
October 30, 2017 18:40
-
-
Save kprav33n/361bafa0181f2b9af05d846e1490d141 to your computer and use it in GitHub Desktop.
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
export ZPLUG_HOME=/usr/local/opt/zplug | |
source $ZPLUG_HOME/init.zsh | |
# Standard completions. | |
zplug zsh-users/zsh-completions | |
# Auto suggestion. | |
zplug zsh-users/zsh-autosuggestions | |
# Syntax highlighting in shell. | |
zplug zsh-users/zsh-syntax-highlighting, defer:2 | |
# Theme. | |
zplug mafredri/zsh-async | |
zplug sindresorhus/pure, use:pure.zsh, as:theme | |
# fzf support. | |
zplug kprav33n/e62395229f67e7b39c43d3f227b2014d, from:gist | |
# pyenv support. | |
zplug kprav33n/d423e694d0ed53ffa34ef1a985b0e346, from:gist | |
# 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 | |
## Additional configuration. | |
# Command history. | |
# If you find that you want more control over when commands get imported, you | |
# may wish to turn SHARE_HISTORY off, INC_APPEND_HISTORY or | |
# INC_APPEND_HISTORY_TIME (see above) on, and then manually import commands | |
# whenever you need them using `fc -RI'. | |
HISTSIZE=10000 | |
SAVEHIST=10000 | |
HISTFILE=~/.zhistory | |
setopt extended_history | |
setopt hist_expire_dups_first | |
setopt inc_append_history | |
setopt hist_ignore_dups | |
alias history='fc -fl 1' | |
# Directory stack. | |
DIRSTACKSIZE=8 | |
setopt auto_cd | |
setopt auto_pushd pushd_minus pushd_silent pushd_ignore_dups |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment