2016-11-13 17:38:53 +00:00
|
|
|
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
|
|
|
|
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
|
|
|
|
fi
|
2013-11-26 20:21:30 +00:00
|
|
|
|
2015-01-24 15:46:54 +00:00
|
|
|
COMPLETION_WAITING_DOTS="true"
|
2013-11-26 20:21:30 +00:00
|
|
|
|
2017-08-22 09:15:02 +01:00
|
|
|
plugins=(vi-mode svn git python syntax-highlighting history-substring-search spectrum sshi prompt gpg autosuggestions)
|
2013-11-26 20:21:30 +00:00
|
|
|
|
2013-10-09 07:21:30 +01:00
|
|
|
HISTFILE=~/.histfile
|
2013-11-30 10:00:26 +00:00
|
|
|
HISTSIZE=10240
|
|
|
|
SAVEHIST=10240
|
2013-10-09 07:21:30 +01:00
|
|
|
setopt appendhistory autocd extendedglob nomatch notify
|
|
|
|
unsetopt beep
|
2013-10-09 07:29:35 +01:00
|
|
|
|
|
|
|
autoload -U compinit
|
|
|
|
compinit
|
|
|
|
setopt completealiases
|
|
|
|
|
2013-11-26 20:21:30 +00:00
|
|
|
zstyle ':completion::complete:*' use-cache 1
|
2013-11-10 10:56:06 +00:00
|
|
|
|
2015-01-24 15:52:06 +00:00
|
|
|
# bind UP and DOWN arrow keys
|
|
|
|
zmodload zsh/terminfo
|
|
|
|
bindkey "$terminfo[cuu1]" history-substring-search-up
|
|
|
|
bindkey "$terminfo[cud1]" history-substring-search-down
|
|
|
|
bindkey -M vicmd 'k' history-substring-search-up
|
|
|
|
bindkey -M vicmd 'j' history-substring-search-down
|
2016-01-30 12:31:42 +00:00
|
|
|
bindkey "^R" history-incremental-search-backward
|
2015-01-24 15:52:06 +00:00
|
|
|
|
2016-11-13 18:02:36 +00:00
|
|
|
|
|
|
|
prompt_dir() {
|
|
|
|
prompt_segment blue $PRIMARY_FG ' %1~ '
|
|
|
|
}
|
|
|
|
|
2013-12-02 09:49:22 +00:00
|
|
|
if [[ `uname` =~ 'CYGWIN.*' ]]; then
|
|
|
|
export DISPLAY=:0.0
|
|
|
|
fi
|
|
|
|
|
2016-11-13 18:59:53 +00:00
|
|
|
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
2017-03-08 22:00:44 +00:00
|
|
|
[ -f /home/cyryl/.travis/travis.sh ] && source /home/cyryl/.travis/travis.sh
|
2019-01-20 13:09:46 +00:00
|
|
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
2019-01-20 13:39:04 +00:00
|
|
|
|
|
|
|
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
|
|
|
|
export PATH="$PATH:$HOME/.rvm/bin"
|