From 086037fb9be16c9b04f9cddf49abbfc69c1c052c Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Wed, 20 May 2020 20:10:00 +0800 Subject: [PATCH] bash: add VIMPAGER_RC --- .bashrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bashrc b/.bashrc index 15316ee..ccbdc7b 100644 --- a/.bashrc +++ b/.bashrc @@ -20,8 +20,10 @@ export INPUTRC="$XDG_CONFIG_HOME/readline/inputrc" if [ -n "$(grep -F 'ID=arch' /etc/os-release 2>/dev/null)" ] || [ -n "$(grep -F 'ID_LIKE=arch' /etc/os-release 2>/dev/null)" ];then export VIMINIT=":source $XDG_CONFIG_HOME/vim/vimrc" + export VIMPAGER_RC="$XDG_CONFIG_HOME/vim/vimrc" else export VIMINIT=":source $XDG_CONFIG_HOME/vim/vimrc-nonarch" + export VIMPAGER_RC="$XDG_CONFIG_HOME/vim/vimrc-nonarch" fi export SCREENRC="$XDG_CONFIG_HOME/screen/screenrc" export GRADLE_USER_HOME="$XDG_CACHE_HOME/gradle" -- 2.45.2