nixos-configs/common/home/bash/config/bashrc

20 lines
442 B
Bash

# Check git status of nix configs
(
cd ~/.nix || exit 1
git fetch --all > /dev/null
GIT=$(git -c color.status=always status |
grep -v -e "On branch" \
-e "up to date" \
-e 'use "git' \
-e "nothing to commit")
CHECK=$(echo "$GIT" | sed '/^$/d')
if [ "$CHECK" != "" ]; then
echo "$GIT"
echo
fi
)
# Pokemon Sprite
pokemon-colorscripts -r 1-5