summaryrefslogtreecommitdiffstats
path: root/zshrc
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-10-26 23:11:44 -0400
committerJesse Luehrs <doy@tozt.net>2013-10-27 04:31:58 -0400
commit08b5159a230116ac91f1746c343cad0b67914fb1 (patch)
treeeeadf0b06c52ce79d832e9c31b6f05af407168be /zshrc
parent46718b50297487fb8194d772f789c94484bed4da (diff)
downloadconf-08b5159a230116ac91f1746c343cad0b67914fb1.tar.gz
conf-08b5159a230116ac91f1746c343cad0b67914fb1.zip
clean up vim data files
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/zshrc b/zshrc
index 403e25b..140c625 100644
--- a/zshrc
+++ b/zshrc
@@ -22,9 +22,10 @@ case ${TERM} in
esac # }}}
# aliases {{{
[ -f "$HOME/.aliases" ] && source $HOME/.aliases
+mkdir -p $HOME/.vim/data/hist
function vim {
local zsh_hist_fname
- zsh_hist_fname=$HOME/.vim/hist$$
+ zsh_hist_fname=$HOME/.vim/data/hist/$$
command vim --cmd "let g:_zsh_hist_fname = '$zsh_hist_fname'" "$@"
if [[ -r $zsh_hist_fname ]]; then
while read line; do