aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/aliases.zsh
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-05-14 13:42:43 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-05-14 13:42:43 +0200
commite1d415be460af9b0052adf0f3fd5f7ac736d666d (patch)
treebe2ecb3561b9c5545c0667fa7cfa515bf56eb86d /zsh/aliases.zsh
parent0cf15ca367fd6f8260789f626e4bcb39a3771bf1 (diff)
downloaddotfiles-e1d415be460af9b0052adf0f3fd5f7ac736d666d.tar.xz
Add 5clone and 5ssh aliases
Diffstat (limited to 'zsh/aliases.zsh')
-rw-r--r--zsh/aliases.zsh14
1 files changed, 14 insertions, 0 deletions
diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh
index b828a71..d2abe45 100644
--- a/zsh/aliases.zsh
+++ b/zsh/aliases.zsh
@@ -101,3 +101,17 @@ function 5c {
cd "$HOME"/5/code
fi
}
+
+function 5clone {
+ if [[ -z "$1" ]]; then
+ print "No repo name"
+ fi
+
+ (cd "$HOME"/5/code
+ git clone git@github.com:5m/"$1"
+ cd "$1"
+ git config --local user.email johannes@5monkeys.se
+ )
+}
+
+alias 5ssh='TERM=xterm ssh'