Add nala.sh

This commit is contained in:
2025-11-08 16:16:26 +00:00
commit a6f1d5f28b

24
nala.sh Normal file
View File

@@ -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