diff --git a/home/user/.config/bash/functions b/home/user/.config/bash/functions index 33aaac3..26c0fe0 100644 --- a/home/user/.config/bash/functions +++ b/home/user/.config/bash/functions @@ -131,7 +131,7 @@ vpn() { } toggle-ssh-proxy() { - SSH_PROXY_CONTROL_FILE="$XDG_RUNTIME_DIR/ssh_$1_proxy.control" + SSH_PROXY_CONTROL_FILE="$XDG_RUNTIME_DIR/ssh_$1_proxy.control" if [ -z "$1" ]; then echo "Proxy ssh server hostname not specified" 1>&2 @@ -217,3 +217,8 @@ most-often-commands() { = () { echo "$*" | bc -l } + +# Disable tmux on remote machine +ssht() { + ssh -t "$1" 'TMUX=NO $SHELL -l' +} \ No newline at end of file