From 49de8d30345020c046d125c39bdf2a177b4f9e94 Mon Sep 17 00:00:00 2001 From: BanceDev Date: Mon, 9 Sep 2024 10:22:06 -0400 Subject: added support for init.lua for configuring shell --- install.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index bdcfe2e..ebdbaeb 100644 --- a/install.sh +++ b/install.sh @@ -51,7 +51,12 @@ rm premake.tar.gz premake5 gmake make -cp -rf ./.lush ~/ +if [ ! -d ~/.lush ]; then + cp -rf ./.lush ~/ +fi + +# always update example +cp -f ./.lush/scripts/example.lua ~/.lush/scripts/example.lua # Install the new shell binary to a temporary location sudo cp ./bin/Debug/lush/lush /usr/bin/lush.new -- cgit v1.2.3-59-g8ed1b