Skip to content

Commit

Permalink
fix: forgot to make argv[2] as variable
Browse files Browse the repository at this point in the history
  • Loading branch information
y3owk1n committed Jan 6, 2024
1 parent 946ea9a commit 9fbd79d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/gclx.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9fbd79d

Please sign in to comment.