diff options
Probally Should update more often
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 63 |
1 files changed, 63 insertions, 0 deletions
@@ -0,0 +1,63 @@ +#!/usr/bin/zsh -i + +zmodload zsh/zprof + +bindkey -v +autoload -Uz edit-command-line +zle -N edit-command-line +bindkey -M vicmd v edit-command-line + +HISTFILE=~/.histfile +HISTSIZE=1000 +SAVEHIST=1000 +setopt hist_ignore_all_dups hist_save_no_dups hist_reduce_blanks share_history extended_history + +fpath=(~/.zfunc $fpath) + +autoload -Uz compinit promptinit +zmodload zsh/complist +zstyle ':completion:*' menu select +zstyle ':completion:*' group-name '' +zstyle ':completion:*' completer _extensions _expand_alias _complete _approximate +zstyle ':completion:*:*:*:*:descriptions' format '%B%d%b' +zstyle ':completion:*:*:*:*:corrections' format '%B%d (errors: %e)%b' +zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}" +zstyle ':completion:*' complete-options true +zstyle ':completion:*' rehash true +zstyle ':completion:*:*:-command-:*:*' group-order alias builtins functions commands +compinit + +bindkey -M menuselect 'h' vi-backward-char +bindkey -M menuselect 'k' vi-up-line-or-history +bindkey -M menuselect 'l' vi-forward-char +bindkey -M menuselect 'j' vi-down-line-or-history + +promptinit +prompt marc +add-zsh-hook -Uz precmd osc7_prompt + + +setopt no_clobber +setopt extendedglob + +setopt auto_cd auto_pushd pushd_silent pushd_to_home pushd_ignore_dups +pushd . + +autoload -Uz run-help +(( ${+aliases[run-help]} )) && unalias run-help +alias help=run-help + +autoload -Uz e v p bell + +path=( ~/.pyenv/bin ~/.nodenv/bin $path ) + +if command -v pyenv > /dev/null +then + eval "$(pyenv init -)" +fi + +if command -v nodenv > /dev/null +then + eval "$(nodenv init -)" +fi + |