function ssht to connect ssh without tmux

This commit is contained in:
thek4n 2024-01-24 14:33:25 +03:00
parent abc9276d8e
commit 4695e435c1

View File

@ -217,3 +217,8 @@ most-often-commands() {
= () { = () {
echo "$*" | bc -l echo "$*" | bc -l
} }
# Disable tmux on remote machine
ssht() {
ssh -t "$1" 'TMUX=NO $SHELL -l'
}