aboutsummaryrefslogtreecommitdiffstats
path: root/create
diff options
context:
space:
mode:
authordanix <danix@danix.xyz>2018-12-18 15:18:28 +0100
committerdanix <danix@danix.xyz>2018-12-18 15:18:28 +0100
commit13686e1e2076b534b87b66489ad177cd11d5d93a (patch)
tree22fccaa6dacf0c777ee613293d7f5fcfe2c1c254 /create
parent81873de46fa20d0d13ee44659850c07c2b247816 (diff)
downloadgit_shell-13686e1e2076b534b87b66489ad177cd11d5d93a.tar.gz
git_shell-13686e1e2076b534b87b66489ad177cd11d5d93a.zip
modified create command to ensure a prompt for the project description is displayed
Diffstat (limited to 'create')
-rwxr-xr-xcreate3
1 files changed, 2 insertions, 1 deletions
diff --git a/create b/create
index 04d299a..f3fa041 100755
--- a/create
+++ b/create
@@ -23,7 +23,8 @@ function is_bare() {
function git_init() {
PROJECT=$1
echo "creating project \"${PROJECT}.git\""
- read -p "Describe your project in one line: " DESCRIPTION
+ echo -n "Describe your project in one line: "
+ read DESCRIPTION
if [ ! -d ${GITDIR}/${PROJECT}.git ]; then
mkdir ${GITDIR}/${PROJECT}.git
fi