Files
guru/dev-util/mise/files/mise.sh
Alexey Zapparov d25dd0a723 dev-util/mise: new package, add 2025.10.10
Signed-off-by: Alexey Zapparov <alexey@zapparov.com>
2025-10-17 23:53:47 +02:00

11 lines
257 B
Bash

if [ -n "$ZSH_NAME" ]; then
if (( ${+commands[mise]} )); then
# shellcheck disable=SC1090
source <(mise activate zsh) || true
fi
elif [ -n "$BASH_VERSION" ]; then
if command -v mise >/dev/null 2>&1; then
eval "$(mise activate bash)" || true
fi
fi