]> git.sev.monster Git - dotfiles.git/commitdiff
zshrc: use int for _sev_exectime
authorsev <git@sev.monster>
Fri, 5 Apr 2024 19:48:35 +0000 (14:48 -0500)
committersev <git@sev.monster>
Fri, 5 Apr 2024 21:27:41 +0000 (16:27 -0500)
etc/zsh/.zshrc

index fd1f3788652c4057bb95d9e6fa50f02139924b24..bd670c27d4b3025c86f1ebea220e2f3faade94ed 100644 (file)
@@ -307,7 +307,7 @@ alias dcl='sudo docker compose logs -f'
 
 ### hooks
 autoload -Uz add-zsh-hook
 
 ### 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\\"
 function sev_preexec {
     # change terminal title to show command
     print -n "\e]2;$(print -P '%#')${SSH_CLIENT+$USER@$HOST:}$1\e\\"
This page took 0.037217 seconds and 4 git commands to generate.