mirror of
https://github.com/arcan1s/dotfiles.git
synced 2025-07-13 05:45:48 +00:00
add TMOUT for all
This commit is contained in:
2
zshrc
2
zshrc
@ -101,7 +101,7 @@ unsetopt beep
|
|||||||
autoload zcalc
|
autoload zcalc
|
||||||
|
|
||||||
# automatically log of on 10*60 sec inactivity
|
# automatically log of on 10*60 sec inactivity
|
||||||
[[ $EUID == 0 ]] && export TMOUT=600
|
export TMOUT=600
|
||||||
|
|
||||||
# PROMPT && RPROMPT
|
# PROMPT && RPROMPT
|
||||||
if [[ $EUID == 0 ]]; then
|
if [[ $EUID == 0 ]]; then
|
||||||
|
Reference in New Issue
Block a user