about summary refs log tree commit diff
path: root/users/grfn/system/home/modules/pure.zsh-theme
diff options
context:
space:
mode:
Diffstat (limited to 'users/grfn/system/home/modules/pure.zsh-theme')
-rwxr-xr-xusers/grfn/system/home/modules/pure.zsh-theme4
1 files changed, 4 insertions, 0 deletions
diff --git a/users/grfn/system/home/modules/pure.zsh-theme b/users/grfn/system/home/modules/pure.zsh-theme
index b4776e81596d..666e28259c14 100755
--- a/users/grfn/system/home/modules/pure.zsh-theme
+++ b/users/grfn/system/home/modules/pure.zsh-theme
@@ -92,6 +92,10 @@ prompt_pure_nix_info() {
 }
 
 prompt_pure_precmd() {
+	if [[ "$TERM" == "dumb" ]]; then
+		return
+	fi
+
 	# shows the full path in the title
 	print -Pn '\e]0;%~\a'