From 4eabe1942134846fe45476a9ba90d19ea7e60909 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Mon, 25 Jan 2021 17:59:59 -0500 Subject: Install vi on Linux and nvi on macOS --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 6051edaf..39b3380a 100644 --- a/install.sh +++ b/install.sh @@ -12,7 +12,7 @@ OpenBSD() { } Linux() { - sudo pacman -Sy --needed bc ctags gdb openbssh $packages + sudo pacman -Sy --needed bc ctags gdb openssh vi $packages } installMacPorts() { @@ -31,7 +31,7 @@ installMacPorts() { Darwin() { [ -d /opt/local ] || installMacPorts sudo /opt/local/bin/port selfupdate - sudo /opt/local/bin/port -N install git mandoc pkgconfig $packages + sudo /opt/local/bin/port -N install git mandoc nvi pkgconfig $packages sudo mkdir -p /opt/local/etc/select/man printf 'bin/man\nshare/man/man1/man.1\nshare/man/man1/man.1.gz\n' \ | sudo tee /opt/local/etc/select/man/base >/dev/null -- cgit 1.4.1