From 8437d55ced081ead2225212a872eecdaed774f2e Mon Sep 17 00:00:00 2001
From: Salt <rehashedsalt@cock.li>
Date: Tue, 6 Nov 2018 18:36:04 -0600
Subject: [PATCH] .profile: Make bash more uniform

---
 .functions | 5 +++++
 .profile   | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/.functions b/.functions
index fa36ddc2..9427f97b 100644
--- a/.functions
+++ b/.functions
@@ -50,6 +50,11 @@ _proj() {
 # Autocompletion for zsh
 compdef _proj proj > /dev/null 2>&1 &&
 _proj() {
+	for dir in $HOME/Projects/*; do
+		temp="$(basename "$dir")"
+		temp="${reply//[^ a-zA-Z0-9.]/}"
+		reply+=" $temp"
+	done
 	return 0
 }
 
diff --git a/.profile b/.profile
index ecb74271..dec1250e 100755
--- a/.profile
+++ b/.profile
@@ -133,7 +133,7 @@ _ps1() {
 	if ! [ "$exitcode" = "0" ]; then
 		fail="${fg_bold}${fg_red}?"
 	fi
-	printf "(${prefix}${cpwd}${r})${fail}${r}${fg_green}\$${r} "
+	printf "[${prefix}${cpwd}${r}]${fail}${r}${fg_green}\$${r} "
 }
 
 if ! [ "$ZSH_NAME" ]; then