From a3cd04628e948169d49bc28864a011203cf98bc1 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Wed, 9 Apr 2025 18:45:05 -0400 Subject: [PATCH] AutoYADM commit: 2025-04-09 18:45:05 --- .config/fish/functions/gh.fish | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.config/fish/functions/gh.fish b/.config/fish/functions/gh.fish index 81f25040..36c3d5ec 100644 --- a/.config/fish/functions/gh.fish +++ b/.config/fish/functions/gh.fish @@ -1,3 +1,8 @@ -function gh --description "Create a new " - +function gh --description "Create a new clean repo if arg is public or private" --wraps gh + if test $argv[1] = public; or test $argv[1] = private + # echo Creating new $argv[1] repo $argv[2] + gh repo create $argv[2] --disable-issues --disable-wiki --$argv[1] + else + command gh $argv + end end