various scripts I use to make my life easier

fixed the prompts since we don't have a psudotty

Changed files
+6 -4
git-shell-commands
+6 -4
git-shell-commands/new-repo
···
# - follow the prompts
echo "oh look you are starting a project you won't finish again."
-
read -p "whats this one called? " PROJECT_NAME
-
if [[ $PROJECT_NAME != *.git ]]; then
-
$PROJECT_NAME = "${PROJECT_NAME}.git"
+
echo "What is your projects name?"
+
read PROJECT_NAME
+
if [[ $PROJECT_NAME!=*.git ]]; then
+
$PROJECT_NAME="${PROJECT_NAME}.git"
fi
-
read -p "what's the remote(leave blank if private)" REMOTE_URL
+
echo "What's the mirror repo remote url?(leave blank if private)"
+
read REMOTE_URL
git --bare init "${PROJECT_NAME}"