From 9fbd79d9cbeb1966141d4e6b1acb69ad3f7c8700 Mon Sep 17 00:00:00 2001 From: y3owk1n Date: Sat, 6 Jan 2024 16:16:57 +0800 Subject: [PATCH] fix: forgot to make argv[2] as variable --- functions/gclx.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/gclx.fish b/functions/gclx.fish index e968721..6f445da 100644 --- a/functions/gclx.fish +++ b/functions/gclx.fish @@ -12,7 +12,7 @@ function gclx --description="Git clone and cd" # Check for the --bare option if test "$argv[1]" = --bare set is_bare_repo true - set argv[1] argv[2] # Remove the --bare option from the arguments + set argv[1] $argv[2] # Remove the --bare option from the arguments end # Extract owner and repo names from the argument