We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92a3e5f commit 6f7903fCopy full SHA for 6f7903f
1 file changed
scripts/launch.sh
@@ -93,7 +93,12 @@ else
93
# Look for mise executable
94
if command -v mise >/dev/null 2>&1; then
95
>&2 echo "mise executable found at $(command -v mise), activating"
96
- eval "$($(command -v mise) env -s "$preferred_shell")"
+ # mise env does not support all shells (e.g. nushell); fall back to bash
97
+ case "$preferred_shell" in
98
+ bash|zsh|fish|elvish|xonsh|pwsh) mise_shell="$preferred_shell" ;;
99
+ *) mise_shell="bash" ;;
100
+ esac
101
+ eval "$($(command -v mise) env -s "$mise_shell")"
102
export_stdlib_path "mise which elixir"
103
else
104
>&2 echo "mise not found"
0 commit comments