From 61388a6d7c8c76299ae6dccaf10e9ee718cdded1 Mon Sep 17 00:00:00 2001
From: self <self@sateoki.xyz>
Date: Tue, 3 May 2022 21:52:40 +0100
Subject: Added gca

---
 zsh/.zshrc | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'zsh')

diff --git a/zsh/.zshrc b/zsh/.zshrc
index 939beff..add486e 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -151,6 +151,10 @@ gpr() { # Print all remotes
     git remote get-url github 
     git remote get-url gitlab 
 }
+gcar() { # Git clone from origin url and then add in the rest of remotes
+    git clone gitea@git.gabbott.xyz:self/$1.git
+    gar
+}
 
 # misc
 alias pkg-query="pacman -Qq | fzf --preview 'pacman -Qil {}' --layout=reverse --bind 'enter:execute(pacman -Qil {} | less)'"
-- 
cgit v1.2.1