Skip to content

Commit 6ae02d7

Browse files
committed
fixed newline problem cheat_short
1 parent 47bfbd8 commit 6ae02d7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cheat_short.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ addshort () {
2424
do
2525

2626
# ask which command, what it does and what it does in your language
27-
echo -e "Which is the shortcut command?\n"
27+
echo -e "\nWhich is the shortcut command?"
2828
read combination
2929

3030
# evaluate if already present
@@ -36,10 +36,10 @@ addshort () {
3636
fi
3737

3838
# UNCOMMENT these lines if you want to add your own language explanation
39-
# echo -e "$whatdoes\n"
39+
# echo -e "\n$whatdoes"
4040
# read whatdoeslan
4141

42-
echo -e "what it does?\n"
42+
echo -e "\nwhat it does?"
4343
read whatdoes
4444

4545
# insert in file
@@ -73,7 +73,7 @@ searchshort () {
7373
done
7474

7575
# ask which command
76-
echo "Which shortcut are you searching for?"
76+
echo -e "\nWhich shortcut are you searching for?"
7777
read whatdoes
7878

7979
# evaluate searched words

0 commit comments

Comments
 (0)