]> arthur.barton.de Git - ax-zsh.git/commitdiff
std_env: Don't set REPORTTIME in Warp terminal
authorAlexander Barton <alex@barton.de>
Sun, 25 Dec 2022 13:33:53 +0000 (14:33 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 25 Dec 2022 13:33:53 +0000 (14:33 +0100)
The Warp terminal does this on its own.

default_plugins/std_env/std_env.zprofile

index 7321cf8e89bc1dbefccaf68a8456237f1ce6b0d3..74c26f1228ea3c7d02f52ebfb2a8ac6d6396e497 100644 (file)
@@ -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