mirror of
https://github.com/aljazceru/omakub.git
synced 2025-12-17 12:34:21 +01:00
Merge pull request #368 from afonsomm/julia
Add the julia programming language
This commit is contained in:
@@ -2,7 +2,7 @@ OPTIONAL_APPS=("1password" "Spotify" "Zoom" "Dropbox")
|
||||
DEFAULT_OPTIONAL_APPS='1password,Spotify,Zoom'
|
||||
export OMAKUB_FIRST_RUN_OPTIONAL_APPS=$(gum choose "${OPTIONAL_APPS[@]}" --no-limit --selected $DEFAULT_OPTIONAL_APPS --height 7 --header "Select optional apps" | tr ' ' '-')
|
||||
|
||||
AVAILABLE_LANGUAGES=("Ruby on Rails" "Node.js" "Go" "PHP" "Python" "Elixir" "Rust" "Java")
|
||||
AVAILABLE_LANGUAGES=("Ruby on Rails" "Node.js" "Go" "PHP" "Python" "Julia" "Elixir" "Rust" "Java")
|
||||
SELECTED_LANGUAGES="Ruby on Rails","Node.js"
|
||||
export OMAKUB_FIRST_RUN_LANGUAGES=$(gum choose "${AVAILABLE_LANGUAGES[@]}" --no-limit --selected "$SELECTED_LANGUAGES" --height 10 --header "Select programming languages")
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
if [[ -v OMAKUB_FIRST_RUN_LANGUAGES ]]; then
|
||||
languages=$OMAKUB_FIRST_RUN_LANGUAGES
|
||||
else
|
||||
AVAILABLE_LANGUAGES=("Ruby on Rails" "Node.js" "Go" "PHP" "Python" "Elixir" "Rust" "Java")
|
||||
AVAILABLE_LANGUAGES=("Ruby on Rails" "Node.js" "Go" "PHP" "Python" "Julia" "Elixir" "Rust" "Java")
|
||||
languages=$(gum choose "${AVAILABLE_LANGUAGES[@]}" --no-limit --height 10 --header "Select programming languages")
|
||||
fi
|
||||
|
||||
@@ -29,6 +29,9 @@ if [[ -n "$languages" ]]; then
|
||||
Python)
|
||||
mise use --global python@latest
|
||||
;;
|
||||
Julia)
|
||||
bash -c "$(curl -fsSL https://install.julialang.org)" -- -y
|
||||
;;
|
||||
Elixir)
|
||||
mise use --global erlang@latest
|
||||
mise use --global elixir@latest
|
||||
|
||||
1
uninstall/julia.sh
Normal file
1
uninstall/julia.sh
Normal file
@@ -0,0 +1 @@
|
||||
juliaup self uninstall
|
||||
Reference in New Issue
Block a user