From 28598d145c5bbd83753486c737926a82b5d081f5 Mon Sep 17 00:00:00 2001 From: Andrew Stowell Date: Tue, 19 Nov 2019 10:34:35 -0500 Subject: [PATCH] Added iftop, and setting term so it looks nice. --- one-time-stuff/basic-settings.sh | 21 +++++++++++++++++++++ one-time-stuff/install-software.sh | 4 ++-- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/one-time-stuff/basic-settings.sh b/one-time-stuff/basic-settings.sh index b3c71bc..255aefb 100755 --- a/one-time-stuff/basic-settings.sh +++ b/one-time-stuff/basic-settings.sh @@ -34,6 +34,27 @@ esac # ---------------------------------------------------------- +echo "----- Append default TERM to ~/.bashrc --------------" +read -p 'Add "export TERM=screen-256color"? [y/N]: ' add_term +case $add_term in + [Yy]* ) + echo 'Appending ~/.bashrc' + ( + cat << 'TERM' + +# ABS set term to something reasonable +export TERM=screen-256color + +TERM +) >> "$HOME/.bashrc" + ;; + * ) + echo 'Skipping' + ;; +esac + +# ---------------------------------------------------------- + echo "----- Install vim configuration ---------------------" read -p 'Setup vim, colors, defaults, etc? [y/N]: ' set_vim case $set_vim in diff --git a/one-time-stuff/install-software.sh b/one-time-stuff/install-software.sh index 0459a44..5671b24 100755 --- a/one-time-stuff/install-software.sh +++ b/one-time-stuff/install-software.sh @@ -52,8 +52,8 @@ function install_collection () { # ---------------------------------------------------------- -echo "----- Install extra utilities: ncdu, zip ------------" -install_collection 'extra utilities' ncdu zip unzip +echo "----- Install extra utilities: ncdu, zip, iftop -----" +install_collection 'extra utilities' ncdu zip unzip iftop echo "----- Install nginx + php-fpm + certbot -------------" install_collection 'nginx, php-fpm, certbot' nginx certbot python-certbot-nginx php-cli php-fpm php-curl php-gd php-imagick php-intl php-json php-mbstring php-mysql php-redis php-soap php-xml php-yaml php-zip