From 22b12c7de4fa70a321364d771351c268c421ead6 Mon Sep 17 00:00:00 2001 From: Salt Date: Wed, 16 Dec 2020 00:10:05 -0600 Subject: [PATCH] .profile: Stop giving different shells special treatment --- .profile | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.profile b/.profile index 17ff8f33..0e1bb204 100755 --- a/.profile +++ b/.profile @@ -338,17 +338,8 @@ _ps1bash() { elif [ "$USER" != "salt" ]; then _prefix="${fg_bold}${fg_yellow}$USER${r}${fg_yellow}:${r}${_prefix}" fi - # Change PWD color depending on the shell - case $0 in - *bash) - _prefix="${_prefix}${fg_blue}" - ;; - *ksh) - _prefix="${_prefix}${fg_green}" - ;; - *) - ;; - esac + # Color PWD + _prefix="${_prefix}${fg_blue}" # Show the tilde instead of $HOME _cpwd='\w' # Show read-only status in certain directories