use a prompt without colors for dumb terminals

for example using a terminal in the acme text editor.

this depends on the prompt theme "redhat" already existing, but it seems
to be bundled with zsh
This commit is contained in:
xfnw 2022-09-07 21:26:26 -04:00
parent b2eb081a15
commit 0842af58ad
1 changed files with 3 additions and 0 deletions

3
.zshrc
View File

@ -2107,6 +2107,9 @@ fi
else
prompt grml
fi
if [[ "$TERM" == dumb ]] ; then
prompt redhat
fi
# Terminal-title wizardry