- 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.
27 lines
681 B
Bash
27 lines
681 B
Bash
#!/bin/bash
|
|
#Author: Radu - ASIR - I.E.S. Comercio
|
|
|
|
#Update package list
|
|
sudo apt update
|
|
|
|
#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
|
|
|
|
#Print message
|
|
echo "Process Complete!"
|