Various updates

This commit is contained in:
2020-03-15 14:44:36 -04:00
parent f1cbe81655
commit f02cb843aa
10 changed files with 51 additions and 12 deletions

10
install
View File

@@ -1,14 +1,16 @@
#!/bin/bash
source "script_helpers/all.sh"
source "$HOME/.dotfiles/script_helpers/all.sh"
set -e
cwd=$PWD
platform=`uname`
echo platform: $platform
os_is_windows is_windows
if [[ $is_windows -eq 0 ]]; then
if [[ $is_windows -eq 1 ]]; then
error "This is only supported on Linux or MacOS.\n"
exit 1
fi
@@ -43,6 +45,9 @@ setup_git() {
setup_zsh() {
printf "Setting up zsh...\n"
sudo apt install zsh
TEST_CURRENT_SHELL=$(expr "$SHELL" : '.*/\(.*\)')
if [ "$TEST_CURRENT_SHELL" != "zsh" ]; then
if hash chsh >/dev/null 2>&1; then
@@ -85,7 +90,6 @@ setup_misc() {
FILES=()
FILES+=('curlrc')
FILES+=('racketrc')
for file in "${FILES[@]}"
do