Add fallbacks for stuff often in .zshenv
This commit is contained in:
parent
5de762d96b
commit
9352498941
7
.zshrc
7
.zshrc
|
@ -1,5 +1,12 @@
|
||||||
typeset -g EXTERN_PLUGINS="$ZDOTDIR/extern/"
|
typeset -g EXTERN_PLUGINS="$ZDOTDIR/extern/"
|
||||||
|
|
||||||
|
typeset -g ZDOTDIR=${ZDOTDIR:-~/.config/zsh}
|
||||||
|
typeset -g HISTFILE=${HISTFILE:-~/.histfile}
|
||||||
|
typeset -g CACHEPATH=${CACHEPATH:-~/.cache}
|
||||||
|
|
||||||
|
export EDITOR=${EDITOR:-vim}
|
||||||
|
export PAGER=${PAGER:-less}
|
||||||
|
|
||||||
source "$ZDOTDIR/options.zsh"
|
source "$ZDOTDIR/options.zsh"
|
||||||
source "$ZDOTDIR/completions.zsh"
|
source "$ZDOTDIR/completions.zsh"
|
||||||
source "$ZDOTDIR/input.zsh"
|
source "$ZDOTDIR/input.zsh"
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
# https://github.com/robbyrussell/oh-my-zsh/blob/master/lib/key-bindings.zsh
|
# https://github.com/robbyrussell/oh-my-zsh/blob/master/lib/key-bindings.zsh
|
||||||
# https://wiki.archlinux.org/index.php/Zsh
|
# https://wiki.archlinux.org/index.php/Zsh
|
||||||
|
|
||||||
|
typeset -g KEYTIMEOUT=5
|
||||||
|
|
||||||
bindkey -v # vi mode for input
|
bindkey -v # vi mode for input
|
||||||
typeset -g -A key
|
typeset -g -A key
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue