Add port-forward function

This commit is contained in:
Andrew Tomaka 2013-05-28 22:25:28 -04:00
parent 53cb0fa002
commit afad98a9dd
2 changed files with 12 additions and 0 deletions

View file

@ -7,3 +7,7 @@ function g {
}
compdef g=git
function port-forward {
ssh $1 -R $2":localhost:"$2 -g;
}