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
commitc840324d15f37c97df8a33a64ae86a7d3f5b7816 (patch)
treecbe3614a58cb602846bb2a55cb4677068ce39d85
parentUse vi and less (diff)
downloadsrc-c840324d15f37c97df8a33a64ae86a7d3f5b7816.tar.gz
src-c840324d15f37c97df8a33a64ae86a7d3f5b7816.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