Files
dotfiles/script/install.d/80-neofetch.sh

17 lines
397 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 &>/dev/null
elif [[ "$OSTYPE" == "darwin"* ]]; then
brew install neofetch
fi
fi
echo "$(neofetch --version)"