Author: Kyle Fuller <inbox@kylefuller.co.uk> 2011-07-19 14:53:49 +0100 +0100
Committer: Kyle Fuller <inbox@kylefuller.co.uk> 2011-07-19 14:53:49 +0100 +0100
Commit: 2d9e39619482229bffb7ed7472d03f50fffe967a
Parent: c9c9f66a240c8f56184894b774c2590c626f1daf
Add two functions, ssha and ssht. These are to use ssh and tmux
diff --git a/rc b/rc
index 0c79ae279bb93118be0972cc0e0313dad2ccd92c..cf178c68bc418704285a88397a45e19823ad613b 100644
--- a/rc
+++ b/rc
@@ -24,6 +24,14 @@ alias v=$EDITOR
alias gdiff='git diff | $EDITOR -R -'
alias grev='git rev'
+ssha() {
+ ssh $1 -t tmux attach
+}
+
+ssht() {
+ ssh $1 -t tmux
+}
+
alias reload='source ~/.env/rc'
pull () {