From 3ea573ea28f47cfb8181645388490cc575bb1e33 Mon Sep 17 00:00:00 2001 From: Bas van den Wollenberg Date: Tue, 09 Dec 2025 18:00:35 +0000 Subject: [PATCH] add git cl alias --- fish/.config/fish/functions/git-cl.fish | 3 +++ git/bin/git-cl | 2 ++ 2 file(s) changed, 5 insertion(s)(+), 0 deletion(s)(-) diff --git a/fish/.config/fish/functions/git-cl.fish b/fish/.config/fish/functions/git-cl.fish new file mode 100644 --- /dev/null +++ b/fish/.config/fish/functions/git-cl.fish @@ -0,0 +1,3 @@ +function git-cl --wraps 'git clone' --description 'git clone and cd' + git clone $argv && cd (string replace -r '.*/' '' $argv[-1]) +end diff --git a/git/bin/git-cl b/git/bin/git-cl new file mode 100644 --- /dev/null +++ b/git/bin/git-cl @@ -0,0 +1,2 @@ +#!/usr/bin/env fish +git-cl $argv -- tangled.sh