2016-10-29 05:09:40 +00:00
|
|
|
# Conform to XDG Base Directory specification
|
|
|
|
export TMUX_TMPDIR="$XDG_RUNTIME_DIR"
|
|
|
|
alias tmux='tmux -f ~/.config/tmux/tmux.conf'
|
|
|
|
|
|
|
|
# Connect to remote tmux session via SSH
|
|
|
|
ssh-tmux(){
|
2018-08-06 07:13:15 +00:00
|
|
|
ssh -t "$@" "tmux attach || tmux new";
|
2016-10-29 05:09:40 +00:00
|
|
|
}
|