From 3a25f275957da946cfc2b81118279046a637762c Mon Sep 17 00:00:00 2001 From: pika Date: Wed, 22 May 2024 19:25:37 +0200 Subject: [PATCH] testing.. --- functions/git.fish | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions/git.fish b/functions/git.fish index 477792e..0ba541e 100644 --- a/functions/git.fish +++ b/functions/git.fish @@ -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 >─────────────────────────────