This commit is contained in:
2018-10-26 00:00:38 +04:00
parent f6179c8dd7
commit 57aa364879
2 changed files with 2 additions and 1 deletions

View File

@@ -52,6 +52,7 @@ alias -g LATEST='*(om[1])'
# remote tmux on server
alias tmuxr="tmux new-session -A -s auto"
alias tmuxa="tmux new-session -A -s"
alias FUNCTION_PRELUDE="setopt LOCAL_OPTIONS PIPE_FAIL XTRACE ERR_RETURN"
alias FUNCTION_PRELUDE_NO_XTRACE="setopt LOCAL_OPTIONS PIPE_FAIL NO_XTRACE ERR_RETURN"

View File

@@ -64,7 +64,7 @@ function mount_sshfs {
fi
echo "Starting remote command pipe..."
ssh $1 -- tail -f "$REMOTE_COMMAND_PIPE_PATH" | zsh
ssh $1 -- tail -f "$REMOTE_COMMAND_PIPE_PATH" | zsh -x
}
function sublr {