sh_linux_installation_scripts/common/apps/neofetch.sh

12 lines
208 B
Bash

#!/bin/bash
install_neofetch() {
echo "Installing neofetch"
sudo apt-get install neofetch -y
echo '
if [ $USER != "root" ] then
neofetch
fi
' | sudo tee -a /etc/bash.bashrc > /dev/null
}