[+] Arch clean cache script
This commit is contained in:
@@ -36,4 +36,13 @@ if [ -f "/etc/arch-release" ]; then
|
|||||||
fi
|
fi
|
||||||
unset __conda_setup
|
unset __conda_setup
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Remove orphan packages
|
||||||
|
alias autoremove='yay -c'
|
||||||
|
|
||||||
|
# Free up cache
|
||||||
|
clean-cache() {
|
||||||
|
yay -Sc --noconfirm
|
||||||
|
sudo pacman -Sc --noconfirm
|
||||||
|
}
|
||||||
fi
|
fi
|
||||||
Reference in New Issue
Block a user