Add run_waypipe alias

This commit is contained in:
Thomas Avé 2026-03-10 13:56:33 +07:00
parent 14ce14cd5d
commit fa466793ac
1 changed files with 2 additions and 0 deletions

View File

@ -16,3 +16,5 @@ function run_waypipe() {
REMOTE_PATH=$(echo $(pwd) | sed "s|/home/[a-z]*|\$HOME|g")
SSH_SESSION_ID=$SSH_SESSION_ID waypipe -n ssh -t $1 env REMOTE_PATH=\"$REMOTE_PATH\" SSH_SESSION_ID=$SSH_SESSION_ID "zsh --login"
}
alias s='run_waypipe'