diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2015-05-14 13:42:43 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-05-14 13:42:43 +0200 |
commit | e1d415be460af9b0052adf0f3fd5f7ac736d666d (patch) | |
tree | be2ecb3561b9c5545c0667fa7cfa515bf56eb86d /zsh/aliases.zsh | |
parent | 0cf15ca367fd6f8260789f626e4bcb39a3771bf1 (diff) | |
download | dotfiles-e1d415be460af9b0052adf0f3fd5f7ac736d666d.tar.xz |
Add 5clone and 5ssh aliases
Diffstat (limited to 'zsh/aliases.zsh')
-rw-r--r-- | zsh/aliases.zsh | 14 |
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' |