Renamed tmate session to avoid conflict with right eye.
This commit is contained in:
8
.bashrc
8
.bashrc
@ -101,11 +101,9 @@ elif [ -f ~/.bw_session ]; then export BW_SESSION=$(cat ~/.bw_session);
|
||||
else bwu; fi
|
||||
|
||||
# Try connect to my default tmate socket
|
||||
if ! tmate -S /tmp/$USER.tmate.tmate attach; then
|
||||
if ! tmate -S /tmp/default.tmate attach; then
|
||||
|
||||
tmate -S /tmp/$USER.tmate.tmate new-session -s $USER -n $USER -d
|
||||
tmate -S /tmp/$USER.tmate.tmate set-window-option -t $USER automatic-rename off
|
||||
tmate -S /tmp/$USER.tmate.tmate set-window-option -t $USER allow-rename off
|
||||
tmate -S /tmp/$USER.tmate.tmate attach
|
||||
tmate -S /tmp/default.tmate.tmate new-session -s default -n default -d
|
||||
tmate -S /tmp/default.tmate.tmate attach
|
||||
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user