diff --git a/install.sh b/install.sh index 2d2bf81..932625d 100755 --- a/install.sh +++ b/install.sh @@ -41,7 +41,7 @@ for script in "${scripts[@]}"; do printf "\nRunning #$script_number ${C_YELLOW}$script_target${C_NC}...\n${C_DGRAY}" chmod +x "$script" - source "$HOME/.bashrc" && "$script" | indent + source "$script" | indent printf "${C_NC}" # Clean up if fails diff --git a/install/01-bash.sh b/install/01-bash.sh index 7484052..0cad245 100755 --- a/install/01-bash.sh +++ b/install/01-bash.sh @@ -5,6 +5,9 @@ bash_target="$HOME" link_folder "$bash_source" "$bash_target" echo "bash dotfiles are linked" +source "$HOME/.bashrc" +echo "bashrc sourced" + sudo chmod -R 0644 /etc/update-motd.d/ bash --version diff --git a/install/17-elm.sh b/install/17-elm.sh new file mode 100755 index 0000000..a22dc52 --- /dev/null +++ b/install/17-elm.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +if not_installed "elm"; then + curl -L -o elm.gz https://github.com/elm/compiler/releases/download/0.19.1/binary-for-linux-64-bit.gz + gunzip elm.gz + chmod +x elm + sudo mv elm /usr/local/bin/ +fi +