add copyback function
This commit is contained in:
parent
8d7d52aee2
commit
6aa13d0fdf
1 changed files with 4 additions and 0 deletions
|
@ -6,6 +6,10 @@
|
||||||
|
|
||||||
export TMUX_SESSION_DIRS SETPROXY_CREDS_DIRS KERBEROS_CONFIG_DIRS
|
export TMUX_SESSION_DIRS SETPROXY_CREDS_DIRS KERBEROS_CONFIG_DIRS
|
||||||
|
|
||||||
|
cpb() {
|
||||||
|
scp "$1" ${SSH_CLIENT%% *}:~/Work
|
||||||
|
}
|
||||||
|
|
||||||
sudo() {
|
sudo() {
|
||||||
local SUDO
|
local SUDO
|
||||||
SUDO=$( if [ -e /bin/sudo ]; then echo /bin/sudo; else echo /usr/bin/sudo; fi )
|
SUDO=$( if [ -e /bin/sudo ]; then echo /bin/sudo; else echo /usr/bin/sudo; fi )
|
||||||
|
|
Loading…
Reference in a new issue