From 62606700ac51f2d56ccf86bca216db818821a1bc Mon Sep 17 00:00:00 2001 From: unix-axwell <30478004+unix-axwell@users.noreply.github.com> Date: Fri, 2 May 2025 13:17:18 +0200 Subject: [PATCH] Update run.sh - Changed configuration to install "nala" first and then use it to install the packages (making use of the history function). - Added tmux, btop and neofetch* - Added aliases for easy tmux access and custom update/upgrade/install commands. * I might replace neofetch with something else but for the moment it's also available in my repo. --- run.sh | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/run.sh b/run.sh index 03116dc..fc7cfb1 100644 --- a/run.sh +++ b/run.sh @@ -1,11 +1,23 @@ #!/bin/bash -#Author: Radu - ASIR +#Author: Radu - ASIR - I.E.S. Comercio #Update package list sudo apt update -#Package installs -sudo apt install -y tldr mc ranger ncdu +#Nala setup +sudo apt install -y nala + +#Packages Install +sudo nala install -y tldr mc ranger ncdu tmux btop neofetch + +#Bash configuration +echo "alias ttn='tmux new -s' >> ~/.bashrc" +echo "alias tta='tmux attach -t' >> ~/.bashrc" +echo "alias sysupdate='sudo nala update' >> ~/.bashrc" +echo "alias sysupgrade='sudo nala upgrade' >> ~/.bashrc" +echo "alias sysinstall='sudo nala install' >> ~/.bashrc" +echo "alias syshistory='nala history' >> ~/.bashrc" +echo "alias syslist='sudo apt list --upgradable' >> ~/.bashrc" #TLDR resources update tldr --update