From 9ab26d58fdf1374b5e34a1fc34812ae87e192066 Mon Sep 17 00:00:00 2001 From: Bryan Jenks Date: Wed, 29 Apr 2020 15:26:40 -0700 Subject: [PATCH] try a command substitution --- flash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flash b/flash index bf5633d..8bf8986 100755 --- a/flash +++ b/flash @@ -104,7 +104,7 @@ Math:What do you call a number only divisible by itself and 1?:Prime:0 Science:What is the distance between the Earth and Sol called?:An Astronomical Unit (AU):1 Programming:Best operating system?:Arch, because BTW i run Arch:999" -setup(){ mkdir "$DIR" && eval touch {"$EXAMPLE_DECK","$HIGH_SCORE","$REVIEW_LOG"} && echo "$DECK_TEMPLATE" >> "$EXAMPLE_DECK" && echo -e "$DIR_MADE_MSG" ;} +setup(){ mkdir "$DIR" && eval touch {"$EXAMPLE_DECK","$HIGH_SCORE","$REVIEW_LOG"} && $(echo "$DECK_TEMPLATE" >> "$EXAMPLE_DECK") && echo -e "$DIR_MADE_MSG" ;} # Test if .local/share exists and wether to offer setup process if [ ! -d "$DIR" ];then