Skip to content

Commit 4439969

Browse files
committed
.
1 parent 0d1462a commit 4439969

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

deploy.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/bin/bash
2+
BOLD=$(tput bold)
3+
RESET=$(tput sgr0)
4+
25
echo "=============================="
3-
echo "${PWD##*/}"
6+
echo "${BOLD}${PWD##*/}${RESET}"
47
echo "=============================="
58

69
# docs dir
@@ -17,12 +20,12 @@ cd -
1720

1821
# get commit message
1922
printf "\n"
20-
IFS= read -r -p "Enter commit message: " commitmsg
23+
IFS= read -r -p "${BOLD}Enter commit message: ${RESET}" commitmsg
2124

2225
# if commitmsg empty
2326
if [ -z "$commitmsg" ]
2427
then
25-
echo "Commit message is empty"
28+
echo "${BOLD}Commit message is empty${RESET}"
2629
commitmsg="Add files via upload"
2730
fi
2831

0 commit comments

Comments
 (0)