From 6aa13d0fdf50f09ac24ca6658f714693cb4ad8a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Wed, 12 Feb 2020 12:46:50 +0100 Subject: [PATCH] add copyback function --- functions.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/functions.sh b/functions.sh index f453da1..518d687 100644 --- a/functions.sh +++ b/functions.sh @@ -6,6 +6,10 @@ export TMUX_SESSION_DIRS SETPROXY_CREDS_DIRS KERBEROS_CONFIG_DIRS +cpb() { + scp "$1" ${SSH_CLIENT%% *}:~/Work +} + sudo() { local SUDO SUDO=$( if [ -e /bin/sudo ]; then echo /bin/sudo; else echo /usr/bin/sudo; fi )