forked from colonelpanic/dotfiles
fix remote clipboard, do git clone over https in web_start.
This commit is contained in:
parent
5cdb6402a6
commit
f35ff45bf6
@ -1,11 +1,11 @@
|
||||
REMOTE_CLIPBOARD_PORT='1234'
|
||||
|
||||
alias rc_ssh="ssh -R ${REMOTE_CLIPBOARD_PORT}:localhost:1234"
|
||||
alias rc_ssh="ssh -R 1234:localhost:1234"
|
||||
|
||||
function remote_clipboard_server() {
|
||||
while [ 1 ]
|
||||
do
|
||||
netcat -l -p ${1-$REMOTE_CLIPBOARD_PORT} -e "pbcopy"
|
||||
ncat -l -p ${1-$REMOTE_CLIPBOARD_PORT} -e "pbcopy"
|
||||
done
|
||||
}
|
||||
|
||||
@ -18,7 +18,7 @@ function _linux_nc_paste_to_remote_clipboard() {
|
||||
}
|
||||
|
||||
function _osx_nc_paste_to_remote_clipboard() {
|
||||
nc localhost ${1-$REMOTE_CLIPBOARD_PORT} -D
|
||||
nc localhost ${1-$REMOTE_CLIPBOARD_PORT}
|
||||
}
|
||||
|
||||
function remote_os_copy() {
|
||||
|
@ -26,7 +26,7 @@ function osx() {
|
||||
}
|
||||
|
||||
function go() {
|
||||
git clone git@github.com:IvanMalison/dotfiles.git
|
||||
git clone https://github.com/IvanMalison/dotfiles.git
|
||||
cd dotfiles
|
||||
./setup.sh -e
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user