From e1d415be460af9b0052adf0f3fd5f7ac736d666d Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Thu, 14 May 2015 13:42:43 +0200 Subject: Add 5clone and 5ssh aliases --- zsh/aliases.zsh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'zsh') 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' -- cgit v1.2.3-70-g09d2