Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
almirsarajcic committed Sep 17, 2024
1 parent 741fe55 commit 2d4936d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions priv/static/Linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,17 @@ function install() {
case $current_shell in
"bash")
echo 'eval "$(~/.local/bin/mise activate bash)"' >>$config_file
mise activate bash
;;
"fish")
echo '~/.local/bin/mise activate fish | source' >>$config_file
mise activate fish
;;
"zsh")
echo 'eval "$(~/.local/bin/mise activate zsh)"' >>$config_file
mise activate zsh
;;
esac
source $config_file >/dev/null 2>&1
;;
"Erlang")
sudo apt-get update
Expand Down Expand Up @@ -150,12 +152,6 @@ function add_env() {
echo "Debug: Current PATH: $PATH"
echo "Debug: Mise location: $(which mise 2>/dev/null || echo 'not found')"

# Source the updated configuration
echo "Debug: Sourcing config file: $config_file"
source $config_file
cat $config_file
echo "Debug: Finished sourcing config file"

echo "Debug: Updated PATH: $PATH"
echo "Debug: Mise location after sourcing: $(which mise 2>/dev/null || echo 'not found')"

Expand Down

0 comments on commit 2d4936d

Please sign in to comment.