lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master baec3ce 1/3: No longer duplicate ~/.vimrc to


From: Greg Chicares
Subject: [lmi-commits] [lmi] master baec3ce 1/3: No longer duplicate ~/.vimrc to /etc/vim/vimrc.local
Date: Sun, 16 Feb 2020 18:56:05 -0500 (EST)

branch: master
commit baec3cefd50f1c5935fba3ed62a333dda0d421ba
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    No longer duplicate ~/.vimrc to /etc/vim/vimrc.local
---
 gwc/rh.sh       | 4 ++--
 lmi_setup_21.sh | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gwc/rh.sh b/gwc/rh.sh
index 3afef72..585bbc7 100644
--- a/gwc/rh.sh
+++ b/gwc/rh.sh
@@ -86,11 +86,11 @@ cp -a ~/.zshrc /home/${USER}/.zshrc
 chown ${USER}:${USER} /home/${USER}/.zshrc
 
 # Configure vim. Rather than trying to split its contents between
-# '~/.vimrc' and '/etc/vim/vimrc.local', just copy it everywhither.
+# '~/.vimrc' and '/etc/vim/vimrc.local', use '~/.vimrc' for all
+# customizations and copy that file for the normal user too.
 
 wget -N 'https://github.com/vadz/lmi/raw/master/gwc/.vimrc'
 mv .vimrc ~
-cp -a ~/.vimrc /etc/vim/vimrc.local
 cp -a ~/.vimrc /home/${USER}/.vimrc
 chown ${USER}:${USER} /home/${USER}/.vimrc
 
diff --git a/lmi_setup_21.sh b/lmi_setup_21.sh
index 26b18a4..9c8cc98 100755
--- a/lmi_setup_21.sh
+++ b/lmi_setup_21.sh
@@ -93,11 +93,11 @@ cp -a ~/.zshrc /home/"${NORMAL_USER}"/.zshrc
 chown "${NORMAL_USER}":"${NORMAL_GROUP}" /home/"${NORMAL_USER}"/.zshrc
 
 # Configure vim. Rather than trying to split its contents between
-# '~/.vimrc' and '/etc/vim/vimrc.local', just copy it everywhither.
+# '~/.vimrc' and '/etc/vim/vimrc.local', use '~/.vimrc' for all
+# customizations and copy that file for the normal user too.
 
 wget -N "${GIT_URL_BASE}"/gwc/.vimrc
 mv .vimrc ~
-cp -a ~/.vimrc /etc/vim/vimrc.local
 cp -a ~/.vimrc /home/"${NORMAL_USER}"/.vimrc
 chown "${NORMAL_USER}":"${NORMAL_GROUP}" /home/"${NORMAL_USER}"/.vimrc
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]