summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-25 17:59:59 -0500
committerJune McEnroe <june@causal.agency>2021-01-25 18:00:24 -0500
commit4eabe1942134846fe45476a9ba90d19ea7e60909 (patch)
tree119258c5a81d9a8f15028d379e49624336a28322
parentUse vi and less (diff)
downloadsrc-4eabe1942134846fe45476a9ba90d19ea7e60909.tar.gz
src-4eabe1942134846fe45476a9ba90d19ea7e60909.zip
Install vi on Linux and nvi on macOS
-rw-r--r--install.sh4
1 files 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