From 9a2da188a932b19f0f4062e4794daccd545ca3b8 Mon Sep 17 00:00:00 2001
From: Salt <rehashedsalt@cock.li>
Date: Tue, 21 Aug 2018 19:03:15 -0500
Subject: [PATCH] zsh: Cull OMZ

---
 .local/bin |  2 +-
 .profile   | 10 +++++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/.local/bin b/.local/bin
index a3b47c5b..617afd0d 160000
--- a/.local/bin
+++ b/.local/bin
@@ -1 +1 @@
-Subproject commit a3b47c5b8db5b8a7ac6a84fb800a468c0e18bdf7
+Subproject commit 617afd0d5a92e3b5bab4048e4e1c231b3c09665e
diff --git a/.profile b/.profile
index 4e2ac37e..ccdfff4a 100755
--- a/.profile
+++ b/.profile
@@ -94,7 +94,13 @@ _ps1() {
 		hostname_prefix="${fg_bold}${fg_red}`hostname`${r}${fg_red}:"
 	fi
 	# Show the tilde instead of $HOME
-	cpwd="${PWD/#$HOME/\~}"
+	cpwd=""
+	# Thanks ZSH
+	if ! [ "$ZSH_NAME" ]; then
+		cpwd="${PWD/#$HOME/\~}"
+	else
+		cpwd="${PWD/#$HOME/~}"
+	fi
 	# Alert us if the last command failed
 	fail=""
 	if ! [ "$exitcode" = "0" ]; then
@@ -106,5 +112,7 @@ _ps1() {
 if ! [ "$ZSH_NAME" ]; then
 	# I've got a different ZSH theme
 	export PS1='`_ps1`'
+else
+	export PS1='$(_ps1)'
 fi