From 56b8d560ad4df48ee99d792ff997ee566603df40 Mon Sep 17 00:00:00 2001 From: Maxim Likhachev Date: Wed, 13 Nov 2019 18:40:58 +0300 Subject: [PATCH] git: alias: ++my --- etc/soft/git/gitconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/etc/soft/git/gitconfig b/etc/soft/git/gitconfig index 283e365..2a9a8c4 100644 --- a/etc/soft/git/gitconfig +++ b/etc/soft/git/gitconfig @@ -64,8 +64,9 @@ # The last forks of current or specified github repository forks = "!f() { [ -z "$1" ] && forks $(git url | grep github.com | sed -e 's|^.*github.com/||' | sed 's/.git.*$//') || forks "$1"; }; f" - hub = "!github_clone() { git clone git://github.com/${1}.git; }; github_clone" - nb = "!github_clone() { git clone https://notabug.org/${1}.git; }; github_clone" + hub = "!git_clone() { git clone git://github.com/${1}.git; }; git_clone" + nb = "!git_clone() { git clone https://notabug.org/${1}.git; }; git_clone" + my = "!git_clone() { git clone https://code.envrm.info/src/${1}.git; }; git_clone" calendar = !git-cal