summaryrefslogtreecommitdiffstats
path: root/zshrc
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2017-10-24 02:46:17 -0400
committerJesse Luehrs <doy@tozt.net>2017-10-24 03:31:57 -0400
commitf6b458e4d2573fd802ac2acafbe5e13cfbcc5702 (patch)
tree46558d41d857ef6d59e4e3661ff29f8a44cd2b23 /zshrc
parentba2de93f8527cd65a27bd1846c938c671eddf228 (diff)
downloadconf-f6b458e4d2573fd802ac2acafbe5e13cfbcc5702.tar.gz
conf-f6b458e4d2573fd802ac2acafbe5e13cfbcc5702.zip
move the rest of vim's transient data from ~/.vim/data to ~/.cache
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/zshrc b/zshrc
index b4c6251..b36b67f 100644
--- a/zshrc
+++ b/zshrc
@@ -24,7 +24,7 @@ esac # }}}
mkdir -p $HOME/.vim/data/hist
function vim {
local zsh_hist_fname
- zsh_hist_fname=$HOME/.vim/data/hist/$$
+ zsh_hist_fname=$HOME/.cache/vim/hist/$$
command vim --cmd "let g:_zsh_hist_fname = '$zsh_hist_fname'" "$@"
if [[ -r $zsh_hist_fname ]]; then
while read line; do