From bd126ca07a09ac176dcc0a598ef247c5cad1dede Mon Sep 17 00:00:00 2001 From: Jacopo De Simoi Date: Sun, 11 Apr 2021 11:36:16 -0400 Subject: [PATCH] =?UTF-8?q?Add=20git-create-remote=20for=20the=20=CF=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zshrc.org | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/zshrc.org b/zshrc.org index 624a430..58a18cf 100644 --- a/zshrc.org +++ b/zshrc.org @@ -136,7 +136,6 @@ Each environment has slightly different setups, which will be tangled to differe #+end_src *** emacs helpers #+begin_src sh :tangle ".zshrc" - SOLARIZED="true" # Emacs stuff @@ -285,6 +284,11 @@ Each environment has slightly different setups, which will be tangled to differe #+end_src *** git helpers #+begin_src sh :tangle ".zshrc" + git-create-pi-remote () { + REPO_NAME=$(basename "`pwd`") + source ~/scripts/git-init-pi4.sh "$REPO_NAME.git" + git remote add π "git@pi4spoon.local:repos/$REPO_NAME.git" + } git-create-thinkspoon-remote () { REPO_NAME=$(basename "`pwd`")