commit a6f1d5f28bc97d934385e649dcab57deaa5db7fc Author: admin Date: Sat Nov 8 16:16:26 2025 +0000 Add nala.sh diff --git a/nala.sh b/nala.sh new file mode 100644 index 0000000..6feb26f --- /dev/null +++ b/nala.sh @@ -0,0 +1,24 @@ +sudo apt update && sudo apt install nala +sudo nala fetch +echo "apt() { + command nala "$@" +} +sudo() { + if [ "$1" = "apt" ]; then + shift + command sudo nala "$@" + else + command sudo "$@" + fi +}" >> ~/.bashrc +echo "apt() { + command nala "$@" +} +sudo() { + if [ "$1" = "apt" ]; then + shift + command sudo nala "$@" + else + command sudo "$@" + fi +}" >> /root/.bashrc \ No newline at end of file