From 75b99091fe7393e07d1f8cce894b362334c96daf Mon Sep 17 00:00:00 2001 From: simonewebdesign Date: Sun, 22 May 2016 20:06:05 +0100 Subject: [PATCH] Fix the script --- bin/elm-new | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/bin/elm-new b/bin/elm-new index 9a19a5c..6393fea 100755 --- a/bin/elm-new +++ b/bin/elm-new @@ -1,8 +1,10 @@ -#!/bin/sh +#!/bin/bash -cp src/Main.elm . +cp -R /usr/local/share/elm-new/* . -echo "Your Elm project has been created successfully." -echo "You can use `elm` to compile it, test it, and more.\n" -echo " elm make src/Main.elm\n" -echo "Run `elm` for more commands." +tree . 2>/dev/null + +printf "\nYour Elm program has been created successfully.\n" +printf "You can use \"elm\" to compile it:\n\n" +printf " elm make src/Main.elm\n\n" +printf "Run \"elm\" for more commands.\n\n"