From 3035eb5a951e92d43ba6987c926005e6e86de873 Mon Sep 17 00:00:00 2001 From: sev Date: Thu, 26 Dec 2024 10:18:30 -0600 Subject: [PATCH] zsh: fix bad syntax in .zlogout fixes termcap not being checked for logout clear --- etc/zsh/.zlogout | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/zsh/.zlogout b/etc/zsh/.zlogout index df25b19..ca0fa13 100644 --- a/etc/zsh/.zlogout +++ b/etc/zsh/.zlogout @@ -28,7 +28,7 @@ if [[ -o interactive ]] { y=0 } } - if { (( y )) && -v termcap ]] } { + if { (( y )) && [[ -v termcap ]] } { for x (rs r1 r2 r3) { [[ -v termcap[$x] ]] || continue echotc $x -- 2.48.1