diff --git a/setup.sh b/setup.sh index 68bb70f..369e20a 100755 --- a/setup.sh +++ b/setup.sh @@ -16,6 +16,7 @@ base=( vim nvim # tmux + fzf git wezterm ) @@ -29,6 +30,7 @@ useronly_macos=( #Folders that should, or only need to be installed for a local user on Linux useronly_linux=( + bash i3 ) @@ -40,6 +42,7 @@ useronly=( gh jupyter parallel + sk tox firefox ) @@ -50,6 +53,7 @@ ignore_files=( "__setup" "bin" ".git" + ".gitignore" "setup.sh" ) @@ -95,15 +99,16 @@ expect_yes() { } " } + echo "" echo "Stowing apps for user: ${USER}" -# Install apps available to local users and root +# Setup apps available to local users and root for app in "${base[@]}"; do stowit "${HOME}" "${app}" done -# Install useronly_macos folders only for macOS +# Setup useronly_macos folders only for macOS if is_macos; then for app in "${useronly_macos[@]}"; do if [ "$(id -u)" -ne 0 ]; then @@ -113,14 +118,14 @@ if is_macos; then fi if is_linux; then - for app in "${useronly[@]}"; do + for app in "${useronly_linux[@]}"; do if [ "$(id -u)" -ne 0 ]; then stowit "${HOME}" "${app}" fi done fi -# Install useronly folders +# Setup useronly folders for app in "${useronly[@]}"; do if [ "$(id -u)" -ne 0 ]; then stowit "${HOME}" "${app}"