mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
For security reasons, all local consoles get closed after 10 min idle. This does not count for screen or ssh sessions.
19 lines
321 B
Plaintext
19 lines
321 B
Plaintext
# .bashrc
|
|
|
|
# User specific aliases and functions
|
|
|
|
alias rm='rm -i'
|
|
alias cp='cp -i'
|
|
alias mv='mv -i'
|
|
|
|
# Source global definitions
|
|
if [ -f /etc/bashrc ]; then
|
|
. /etc/bashrc
|
|
fi
|
|
|
|
# Automatically logout only console users after 10 minutes.
|
|
export TMOUT=0
|
|
if [ -z "${SSH_TTY}" ] && [ -z "${STY}" ]; then
|
|
export TMOUT=600
|
|
fi
|