From e57370dbf542b165e430cc8c708677625a9f8ed4 Mon Sep 17 00:00:00 2001 From: JackJ30 Date: Mon, 9 Sep 2024 00:07:54 -0400 Subject: laptop config --- scripts/git-ps1~ | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 scripts/git-ps1~ (limited to 'scripts/git-ps1~') diff --git a/scripts/git-ps1~ b/scripts/git-ps1~ new file mode 100644 index 0000000..22093d4 --- /dev/null +++ b/scripts/git-ps1~ @@ -0,0 +1,9 @@ +#!/bin/sh +out=$(git branch --show-current) +if [ -z "$out" ] then + out-"" +else + out="($out)" +fi +echo -n "($out)" + \ No newline at end of file -- cgit v1.2.3