X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/8d4a98e19ec40334ed8e8f2ce4e5a9f094bdbcaf..5326b23ac21b7aa874f2f2f264a935f88009ef6c:/etc/zsh/.zshrc?ds=sidebyside diff --git a/etc/zsh/.zshrc b/etc/zsh/.zshrc index 5ca4858..5b9c79a 100644 --- a/etc/zsh/.zshrc +++ b/etc/zsh/.zshrc @@ -25,7 +25,7 @@ export SAVEHIST=1000 ## python export PYTHONSTARTUP=${XDG_CONFIG_HOME:-~/.config}/pythonrc ## vim -export VIMINIT='execute "source" ($XDG_CONFIG_HOME??($HOME."/.config"))."/vim/.vimrc"' +export VIMINIT='let$MYVIMRC=($XDG_CONFIG_HOME??($HOME."/.config"))."/vim/.vimrc"|execute"source"$MYVIMRC' ## wayland/sway # XXX: only do this if we're actually in wayland, but without a start script export XDG_SESSION_TYPE=wayland @@ -308,6 +308,7 @@ autoload -Uz compinit cache=${XDG_CACHE_HOME:-~/.cache}/zsh [[ -d $cache ]] || mkdir -p $cache compinit -d $cache/.zcompdump +unset cache ### prompt autoload -Uz promptinit && promptinit @@ -315,5 +316,3 @@ prompt arrows ### load site-specific if [[ -f ${ZDOTDIR:-~}/.zshrc.local ]] { source ${ZDOTDIR:-~}/.zshrc.local } - -# vim: et sts=4 sw=4 ts=8 tw=79