sh_linux_installation_scripts/common/redhat/apps/neofetch.sh

13 lines
217 B
Bash
Raw Normal View History

2021-11-24 09:41:28 +01:00
#!/bin/bash
install_neofetch() {
echo "Installing neofetch"
sudo dnf install neofetch -y
echo '
if [ $USER != "root" ]; then
echo ""
neofetch
fi
' | sudo tee -a /etc/bash.bashrc > /dev/null
}