Add run_waypipe alias
This commit is contained in:
parent
14ce14cd5d
commit
fa466793ac
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in New Issue