From ee9589c9ad28a042abc5c2d1dacd8a36afe07c37 Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Thu, 25 Feb 2021 09:26:53 -0700 Subject: [PATCH] fixed order --- zsh/ssh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/ssh b/zsh/ssh index 730971c..feb1b2a 100644 --- a/zsh/ssh +++ b/zsh/ssh @@ -30,7 +30,7 @@ function WRYN_REMOTE_CONNECTOR() { case $COMMAND in; sshfs ) sshfs $(WRYN_SSH_PARSE_ARGS $SSH_ID):$3 ${@:4} ;; ssh ) ssh $(WRYN_SSH_PARSE_ARGS $SSH_ID) ${@:3} ;; - cp-to ) scp ${@:5} $(WRYN_SCP_PARSE_ARGS $SSH_ID $4):$3 ;; + cp-to ) scp ${@:5} $(WRYN_SCP_PARSE_ARGS $SSH_ID $3):$4 ;; cp-from ) scp ${@:5} $(WRYN_SCP_PARSE_ARGS $SSH_ID):$3 $4 ;; copy-id ) ssh-copy-id $(WRYN_SSH_PARSE_ARGS $SSH_ID) ${@:3} ;;