git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormail_redacted_for_web 2023-04-08 13:35:34 +0200
committermail_redacted_for_web 2023-04-08 13:35:34 +0200
commit10aabab8912182302ae549e83f9cae6a245c4e4d (patch)
treec80a2bb9e4d9bcc27ba6ed7fc53fd168a230aa22
parentfc800c836a531b11bc0099e414fd6fbe8fe53aae (diff)
downloaddotfiles-10aabab8912182302ae549e83f9cae6a245c4e4d.tar.bz2
+ termux
-rw-r--r--.bash/prompt.bash10
1 files changed, 10 insertions, 0 deletions
diff --git a/.bash/prompt.bash b/.bash/prompt.bash
index 75ca24a..9908c56 100644
--- a/.bash/prompt.bash
+++ b/.bash/prompt.bash
@@ -38,6 +38,11 @@ case "$MYUID" in
rocky) FGC2="fgcolor 22";FGC3="fgcolor 41";;
*) FGC2="fgcolor 240";FGC3="fgcolor 244";;
esac
+ if [ -n "$TERMUX_APK_RELEASE" ]; then
+ if [ "$TERMUX_APK_RELEASE" == "F_DROID" ]; then
+ FGC2="fgcolor 27";FGC3="fgcolor 35"
+ fi
+ fi
;;
*)
FGC2="fgcolor 253"
@@ -57,6 +62,11 @@ case "$MYUID" in
rocky) FGC1="fgcolor 22";FGC3="fgcolor 41";;
*) FGC1="fgcolor 240";FGC3="fgcolor 244";;
esac
+ if [ -n "$TERMUX_APK_RELEASE" ]; then
+ if [ "$TERMUX_APK_RELEASE" == "F_DROID" ]; then
+ FGC1="fgcolor 27";FGC3="fgcolor 35"
+ fi
+ fi
;;
esac
# HYPERVISOR LAYER 8 SOFTWARE