Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
almirsarajcic committed Sep 18, 2024
1 parent 21bd378 commit e125c50
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion priv/static/Linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function install() {
;;
"mise")
curl https://mise.run | sh
echo 'eval "$(~/.local/bin/mise activate $current_shell)"' >>$config_file
echo "\n\neval \"\$(~/.local/bin/mise activate $current_shell)\"" >>$config_file
eval "$(~/.local/bin/mise activate $current_shell)"
eval "$(~/.local/bin/mise hook-env)"

Expand Down
8 changes: 4 additions & 4 deletions priv/static/macOS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ function install() {
$current_shell -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
;;
"mise")
brew install mise
echo 'eval "$(mise activate '$current_shell')"' >>$config_file
eval "$(mise activate $current_shell)"
eval "$(mise hook-env)"
curl https://mise.run | sh
echo "\n\neval \"\$(~/.local/bin/mise activate $current_shell)\"" >>$config_file
eval "$(~/.local/bin/mise activate $current_shell)"
eval "$(~/.local/bin/mise hook-env)"

echo "--- Debug $config_file ---"
cat $config_file
Expand Down

0 comments on commit e125c50

Please sign in to comment.