diff --git a/functions/git.fish b/functions/git.fish index f063b31..622a061 100644 --- a/functions/git.fish +++ b/functions/git.fish @@ -1,10 +1,10 @@ function gsa echo "-- enter the repository to add as a submodule: https://" - read repo + read -S repo echo "-- enter the branch to checkout (main/master..): " - read branch + read -S branch echo "-- enter the relative path, where the submodule will be cloned to. (don't use fist /" - read path + read -S path echo "git submodule add --branch $branch --name $path $repo" end