aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zsh.after/export.zsh7
1 files changed, 7 insertions, 0 deletions
diff --git a/.zsh.after/export.zsh b/.zsh.after/export.zsh
index 865277f..866f20d 100644
--- a/.zsh.after/export.zsh
+++ b/.zsh.after/export.zsh
@@ -40,3 +40,10 @@ export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
if [[ $UID -ne 0 ]]; then
export TMUX_TMPDIR="$XDG_RUNTIME_DIR/tmux/"
fi
+
+# zsh
+if [[ $UID -eq 0 ]]; then
+ export TMOUT=360
+ readonly TMOUT
+ export TMOUT
+fi