refactor: use $FLAKE instead of /home/mainUser...

This commit is contained in:
matt1432 2024-03-26 13:55:55 -04:00
parent 0fd7817932
commit 3f288f3e8f
8 changed files with 25 additions and 19 deletions
common/home/bash/config

View file

@ -1,6 +1,6 @@
# Check git status of nix configs
fetchNix() {(
cd ~/.nix || exit 1
cd "$FLAKE" || exit 1
git fetch --all --quiet
GIT=$(git -c color.status=always status |
grep -v -e "On branch" \