testing..

This commit is contained in:
pika 2024-05-22 19:25:37 +02:00
parent 8a7a9bddc6
commit 3a25f27595

View file

@ -9,15 +9,15 @@ function gsa
# ─< Prompt the user to enter the relative path where the submodule will be cloned >────────
# ─< Advise not to use the leading / or ./ >────────────────────────────────────────────────
echo -n "-- enter the relative path, where the submodule will be cloned to. (don't use fist / or ./) --"
echo "-- enter the relative path, where the submodule will be cloned to. (don't use fist / or ./) --"
read -l -S path
echo -n "-- enter a name for the submodule --"
echo "-- enter a name for the submodule --"
read -l -S name
# ─< Ask the user for confirmation if the constructed command looks correct >───────────────
echo "git submodule add --branch $branch --name $name $repo $path"
echo -n "-- does this command look right to you? [y/n] --"
echo "-- does this command look right to you? [y/n] --"
read -l comm
# ─< Switch statement to handle the user's confirmation input >─────────────────────────────