From 5437a0d2b352a5e15dd03dc65733aaeb5688f9d8 Mon Sep 17 00:00:00 2001 From: sev Date: Fri, 5 Apr 2024 14:48:35 -0500 Subject: [PATCH] zshrc: use int for _sev_exectime --- etc/zsh/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/zsh/.zshrc b/etc/zsh/.zshrc index fd1f378..bd670c2 100644 --- a/etc/zsh/.zshrc +++ b/etc/zsh/.zshrc @@ -307,7 +307,7 @@ alias dcl='sudo docker compose logs -f' ### hooks autoload -Uz add-zsh-hook -_sev_exectime= +typeset -gi _sev_exectime function sev_preexec { # change terminal title to show command print -n "\e]2;$(print -P '%#')${SSH_CLIENT+$USER@$HOST:}$1\e\\" -- 2.48.1