mirror of
https://github.com/aljazceru/omakub.git
synced 2026-01-31 18:04:23 +01:00
Prompt to install mise if missing
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
if command -v mise &> /dev/null; then
|
||||
eval "$(mise activate bash)"
|
||||
else
|
||||
echo "You're missing mise (replacement for rbenv + nodenv). Run 'omakub install', then select mise.sh"
|
||||
echo "Then run 'mise use --global node@lts' and 'mise use --global ruby' to bring back node + ruby"
|
||||
gum confirm "You're missing mise (replacement for rbenv + nodenv). Install now?" && \
|
||||
source $OMAKUB_PATH/install/mise.sh
|
||||
fi
|
||||
|
||||
eval "$(zoxide init bash)"
|
||||
|
||||
Reference in New Issue
Block a user