diff --git a/home/user/.config/bash/functions b/home/user/.config/bash/functions index d46e89a..8f57dc5 100644 --- a/home/user/.config/bash/functions +++ b/home/user/.config/bash/functions @@ -220,5 +220,10 @@ most-often-commands() { # Disable tmux on remote machine ssht() { - ssh -t "$1" 'TMUX=NO $SHELL -l' + ssh -t $@ 'TMUX=NO $SHELL -l' +} + +# Enable X11Forwarding and disable mux session +sshx() { + ssh -X -o ControlMaster=no $@ } \ No newline at end of file