]> git.sev.monster Git - dotfiles.git/blobdiff - etc/zsh/.zshrc
zsh vcs: reformat; add hash, revert action, patch
[dotfiles.git] / etc / zsh / .zshrc
index 5ca4858e6749636e7f187ab95be1fed41a7b6ac3..5b9c79a1b8ede832ea13b4ab1c3d109366183fc6 100644 (file)
@@ -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
This page took 0.037071 seconds and 4 git commands to generate.