Make screen use a host specific working directory.
This commit is contained in:
parent
8a046511dd
commit
8e79f591df
1 changed files with 1 additions and 0 deletions
|
@ -116,6 +116,7 @@ unset _OUTPUT _PLATFORM
|
|||
|
||||
# Screen.
|
||||
hash screen >/dev/null 2>&1 && {
|
||||
export SCREENDIR="$HOME/.screen-$(hostname --short)"
|
||||
if [[ ! -e ~/.hushlogin ]]; then
|
||||
if [[ ! -z "$STY" ]]; then
|
||||
echo "Screen $STY, window $WINDOW."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue