lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master a61727e 07/14: Install 'less' and 'vim' for c


From: Greg Chicares
Subject: [lmi-commits] [lmi] master a61727e 07/14: Install 'less' and 'vim' for centos
Date: Tue, 5 May 2020 09:03:28 -0400 (EDT)

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

    Install 'less' and 'vim' for centos
    
    A more elaborate set of commands to copy vim's spell-check files does
    not seem warranted. Little work will ever be done in the centos chroot,
    so simple configuration of basic tools should suffice.
---
 install_centos.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/install_centos.sh b/install_centos.sh
index e2afd37..d9d0af9 100755
--- a/install_centos.sh
+++ b/install_centos.sh
@@ -131,7 +131,7 @@ findmnt /var/cache/yum
 findmnt /proc
 findmnt /dev/pts
 
-yum --assumeyes install ncurses-term sudo zsh
+yum --assumeyes install ncurses-term less sudo vim zsh
 chsh -s /bin/zsh root
 chsh -s /bin/zsh "${NORMAL_USER}"
 
@@ -175,6 +175,9 @@ schroot --chroot=centos7lmi --user=root --directory=/tmp 
./setup0.sh
 
 cp -a /tmp/schroot_env /srv/chroot/centos7lmi/tmp
 
+cp -a ~/.vimrc /srv/chroot/centos7lmi/root/.vimrc
+cp -a ~/.vimrc /srv/chroot/centos7lmi/home/"${NORMAL_USER}"/.vimrc
+
 cp -a ~/.zshrc /srv/chroot/centos7lmi/root/.zshrc
 cp -a ~/.zshrc /srv/chroot/centos7lmi/home/"${NORMAL_USER}"/.zshrc
 



reply via email to

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