If a host specific screenrc exists, use it.
This commit is contained in:
parent
80074cd359
commit
0a46a7c0b6
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ unset PLATFORM
|
|||
|
||||
# Screen.
|
||||
hash screen >/dev/null 2>&1 && {
|
||||
[[ -e "$HOME/.screenrc-${HOSTNAME%%.*}" ]] && export SCREENRC="$HOME/.screenrc-${HOSTNAME%%.*}"
|
||||
export SCREENDIR="$HOME/.screen-${HOSTNAME%%.*}"
|
||||
if [[ -n "$SSH_TTY" ]]; then
|
||||
if [[ -n "$STY" ]]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue