mirror of
https://github.com/arcan1s/dotfiles.git
synced 2026-11-14 08:29:30 +00:00
add TMOUT to zshrc
This commit is contained in:
1 parent
b5571b6f2d
commit
8dab4bb6d8
2 files changed
+6
No files matched your search
@@ -100,6 +100,9 @@ unsetopt beep
|
||||
# autoload calc
|
||||
autoload zcalc
|
||||
|
||||
# automatically log of on 10*60 sec inactivity
|
||||
[[ $EUID == 0 ]] && export TMOUT=600
|
||||
|
||||
# PROMPT && RPROMPT
|
||||
if [[ $EUID == 0 ]]; then
|
||||
# [root@host dir]#
|
||||
|
||||
@@ -100,6 +100,9 @@ unsetopt beep
|
||||
# autoload calc
|
||||
autoload zcalc
|
||||
|
||||
# automatically log of on 10*60 sec inactivity
|
||||
[[ $EUID == 0 ]] && export TMOUT=600
|
||||
|
||||
# PROMPT && RPROMPT
|
||||
if [[ $EUID == 0 ]]; then
|
||||
# [root@host dir]#
|
||||
|
||||
Reference in new issue
Block a user