From 3cc7a92da5662899410edea1f1ba17c7d93cad46 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Thu, 5 Apr 2018 18:36:18 +0200 Subject: [PATCH] Load user dir vimrc from zsh, update vimplugin --- .config/zsh/.zshrc | 1 + .scripts/vimplugin.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index ed382f4..2024989 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -7,6 +7,7 @@ export XDG_DATA_HOME="$HOME/.local/share" # VIM export EDITOR="vim" +export VIMINIT="source $XDG_CONFIG_HOME/vim/vimrc" # X11 export XINITRC="$XDG_CONFIG_HOME/xorg/xinitrc" diff --git a/.scripts/vimplugin.sh b/.scripts/vimplugin.sh index c05e405..9146062 100755 --- a/.scripts/vimplugin.sh +++ b/.scripts/vimplugin.sh @@ -1,7 +1,7 @@ #!/bin/sh #---- -BASE="/usr/share/vim/vimfiles/pack" +BASE="$XDG_CONFIG_HOME/vim/pack" #---- DIR="$BASE/plugins" LIST="$BASE/list"