From 37a94e3e2b81148f4a3fc79b1be223c5a52d45ee Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sun, 25 Dec 2022 14:33:53 +0100 Subject: [PATCH] std_env: Don't set REPORTTIME in Warp terminal The Warp terminal does this on its own. --- default_plugins/std_env/std_env.zprofile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/default_plugins/std_env/std_env.zprofile b/default_plugins/std_env/std_env.zprofile index 7321cf8..74c26f1 100644 --- a/default_plugins/std_env/std_env.zprofile +++ b/default_plugins/std_env/std_env.zprofile @@ -3,4 +3,7 @@ export CLICOLOR=${CLICOLOR:-1} export MANWIDTH=${MANWIDTH:-80} -export REPORTTIME=${REPORTTIME:-5} + +if [[ "$TERM_PROGRAM" != "WarpTerminal" ]]; then + export REPORTTIME=${REPORTTIME:-5} +fi -- 2.39.2