Files
dotfiles/script/install.d/80-neofetch.sh
2024-03-07 19:33:24 +00:00

15 lines
357 B
Bash

#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# Description:
# Install neofetch.
#
if ! command -v "neofetch" &>/dev/null; then
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
sudo apt-get install -qq neofetch
elif [[ "$OSTYPE" == "darwin"* ]]; then
brew install neofetch
fi
fi