dotfiles/.functions

14 lines
153 B
Text
Raw Normal View History

2013-04-29 13:38:49 -04:00
function g {
if [[ $# > 0 ]]; then
git $@
else
git status
fi
}
compdef g=git
2013-05-28 22:25:28 -04:00
function port-forward {
ssh $1 -R $2":localhost:"$2 -g;
}