From ca5cc3de191e51f1bef4a534367ba480de25b0f6 Mon Sep 17 00:00:00 2001
From: Salt <rehashedsalt@cock.li>
Date: Sun, 7 Oct 2018 00:09:56 -0500
Subject: [PATCH] Revert ".profile: Change suffix assignment for PS1"

This reverts commit 9813277ababe72dd7d01c24cff6631d263c85af7.
---
 .profile | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/.profile b/.profile
index 7317cc14..e01a9d9f 100755
--- a/.profile
+++ b/.profile
@@ -98,19 +98,19 @@ _ps1() {
 		hostname_prefix="${fg_bold}${fg_red}`hostname`${r}${fg_red}:"
 	fi
 	# Change $ color depending on shell
-	suffix="${fg_green}"
+	cashcolor="${fg_green}"
 	case $0 in
 		bash)
-			suffix="${fg_blue}%%"
+			cashcolor="${fg_blue}"
 			;;
 		ksh)
-			suffix="${fg_yellow}$"
+			cashcolor="${fg_yellow}"
 			;;
 		sh)
-			suffix="${fg_grey}$"
+			cashcolor="${fg_grey}"
 			;;
 		*)
-			suffix="${fg_green}$"
+			cashcolor="${fg_green}"
 			;;
 	esac
 	# Show the tilde instead of $HOME
@@ -120,7 +120,7 @@ _ps1() {
 	if ! [ "$exitcode" = "0" ]; then
 		fail="${fg_bold}${fg_red}?"
 	fi
-	printf "[${hostname_prefix}${cpwd}${r}]${fail}${r}${suffix}${r} "
+	printf "[${hostname_prefix}${cpwd}${r}]${fail}${r}${cashcolor}\$${r} "
 }
 
 if ! [ "$ZSH_NAME" ]; then