feat(bash): add git status to bashrc
This commit is contained in:
parent
a853ae31dc
commit
7cf578fa3b
1 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,13 @@
|
|||
# Check git status of nix configs
|
||||
(
|
||||
cd ~/.nix || exit 1
|
||||
git fetch --all > /dev/null
|
||||
git -c color.status=always status |
|
||||
grep -v -e branch \
|
||||
-e 'use "git' \
|
||||
-e "nothing to commit"
|
||||
)
|
||||
|
||||
# Pokemon Sprite
|
||||
[ -x "$(command -v pokemon-colorscripts)" ] &&
|
||||
[ "$POKE" == "true" ] &&
|
||||
|
|
Loading…
Reference in a new issue