Skip to content

Commit

Permalink
fix: Update install script
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekMasher committed Feb 5, 2025
1 parent 8207e4f commit e890348
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
INSTALL_JSON=$SCRIPT_DIR/install.json
PRESENT=false

DOT_FOLDERS="bin,assets,tmux,nvim,zsh,dev,geek,misc"
DOT_FOLDERS="bin,assets,tmux,nvim,zsh,dev,geek"


# parse other arguments
for i in "$@"; do
case $i in
-i|--interactive)
# interactive using GUM
DOT_FOLDERS="bin,assets,misc"
DOT_FOLDERS="bin,assets"
SELECTED=$(cat $INSTALL_JSON | jq -r 'keys_unsorted[]' | gum choose --limit 10)
for choice in $(echo $SELECTED | sed "s/,/ /g"); do
DOT_FOLDERS="$DOT_FOLDERS,$(cat $INSTALL_JSON | jq -r ".$choice")"
Expand All @@ -36,7 +36,7 @@ for i in "$@"; do
;;
-w|--work)
echo "Enabling Work mode..."
DOT_FOLDERS="$DOT_FOLDERS,github,vscode"
DOT_FOLDERS="$DOT_FOLDERS,github"
shift
;;
-*|--*)
Expand Down

0 comments on commit e890348

Please sign in to comment.