2023-12-10 15:31:39 -05:00
|
|
|
# Check git status of nix configs
|
|
|
|
(
|
|
|
|
cd ~/.nix || exit 1
|
|
|
|
git fetch --all > /dev/null
|
2023-12-10 15:42:32 -05:00
|
|
|
GIT=$(git -c color.status=always status |
|
2023-12-10 15:45:56 -05:00
|
|
|
grep -v -e "On branch" \
|
|
|
|
-e "up to date" \
|
2023-12-10 15:42:32 -05:00
|
|
|
-e 'use "git' \
|
|
|
|
-e "nothing to commit" |
|
|
|
|
sed '/^$/d')
|
|
|
|
|
|
|
|
if [ "$GIT" != "" ]; then
|
|
|
|
echo "$GIT"
|
|
|
|
echo
|
|
|
|
fi
|
2023-12-10 15:31:39 -05:00
|
|
|
)
|
|
|
|
|
2023-10-06 00:14:23 -04:00
|
|
|
# Pokemon Sprite
|
|
|
|
[ -x "$(command -v pokemon-colorscripts)" ] &&
|
|
|
|
[ "$POKE" == "true" ] &&
|
|
|
|
pokemon-colorscripts -r 1-5
|