helix color ++

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-05-14 18:51:14 +02:00
parent d97010da0c
commit 44cedfa442
7 changed files with 122 additions and 89 deletions

View File

@@ -20,6 +20,9 @@ lib.mkIf (user != "tv")
if [ -d "$dir" ]; then
cd "$dir" || { echo "Cannot change directory to $dir"; exit 1; }
echo "$(echo $dir | rev | cut -f 1 -d'/' | rev):"
if [[ $* == *--fetch* ]]; then
git fetch
fi
gst
echo ""
cd - > /dev/null || { echo "Cannot change back to the original directory"; exit 1; }
@@ -46,4 +49,4 @@ lib.mkIf (user != "tv")
};
};
};
}
}