From a6f1d5f28bc97d934385e649dcab57deaa5db7fc Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 8 Nov 2025 16:16:26 +0000 Subject: [PATCH] Add nala.sh --- nala.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 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