Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

Commit

Permalink
fix: script did not launch correctly (#10,#13,#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
tepene committed Apr 19, 2023
1 parent 51eb6b8 commit 44cdc07
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions opt/scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,21 @@ function starship() {
}

# main
case "\$1" in
glitter) permission; shell; zsh; starship ;;
boring) permission; shell ;;
keep-my-config) permission ;;
*) echo "usage: \$0 glitter|boring|keep-my-config" >&2
exit 1
case "$1" in
glitter)
permission
shell
zsh
starship
;;
esac
boring)
permission
shell
;;
preserve)
permission
;;
*)
echo "Invalid argument: please provide 'glitter', 'boring', or 'preserve'"
;;
esac

0 comments on commit 44cdc07

Please sign in to comment.