commit 0dbf93586d5749e5dd6dad38b25d317b5083be85
parent f2ab8b34094de945c1ca037ea82d7b89c1d17d02
Author: Ed van Bruggen <ed@edryd.org>
Date: Sun, 25 Dec 2022 00:44:18 -0500
bash: Auto set terminal title if .sett file exists
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bashrc b/bashrc
@@ -64,7 +64,7 @@ $([ \j -gt 0 ] && echo "\j ")\[${White}\]\
PS2='\[${White}\]\$\[${Color_Off}\] '
-PROMPT_COMMAND="[ -d .git ] && sett"
+PROMPT_COMMAND="[ -d .git -o -f .sett ] && sett"
# basic {{{1
export EDITOR='vim'