From 1c58ccb7855719483490abe1982afa12b0488f24 Mon Sep 17 00:00:00 2001 From: Jack Jamison Date: Fri, 15 May 2026 22:36:21 -0400 Subject: refactor and battery notifier --- scripts/system/git-ps1 | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 scripts/system/git-ps1 (limited to 'scripts/system/git-ps1') diff --git a/scripts/system/git-ps1 b/scripts/system/git-ps1 new file mode 100755 index 0000000..0b860cd --- /dev/null +++ b/scripts/system/git-ps1 @@ -0,0 +1,9 @@ +#!/bin/sh +out=$(git branch --show-current 2>/dev/null) +if [ -z "$out" ] ; then + out="" +else + out="($out) " +fi +echo -n "$out" + -- cgit v1.2.3