# SSH_TTY should still be set to figure out whether this is a ssh session
[ -z "$SSH_TTY" ] || echo "export SSH_TTY=$SSH_TTY"
# decompress the files saved to $trcvar; start a bash with the travelled rc-file; only remove $TRAVELRCDIR if there is no screen or tmux session (which can still use the files); last command is true so that the returncode is always 0
# SSH_TTY should still be set to figure out whether this is a ssh session
[ -z "$SSH_TTY" ] || echo "export SSH_TTY=$SSH_TTY"
# decompress the files saved to $trcvar; start a bash with the travelled rc-file; only remove $TRAVELRCDIR if there is no screen or tmux session (which can still use the files); last command is true so that the returncode is always 0