From ae6f7b99b02c91191ae748f6ee7b3270f8c8f044 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sun, 18 Feb 2024 14:47:50 +0100 Subject: [PATCH] fix mise in bash --- private_dot_bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/private_dot_bashrc b/private_dot_bashrc index f5fbde0..86ee4f3 100644 --- a/private_dot_bashrc +++ b/private_dot_bashrc @@ -1,7 +1,7 @@ export PATH=$PATH:~/bin export LC_ALL=fr_FR.UTF-8 -eval "$(~/bin/mise activate bash)" +[ command -v mise &> /dev/null ] && eval "$(mise activate bash)" # Add RVM to PATH for scripting. Make sure this is the last PATH variable change. export PATH="$PATH:$HOME/.rvm/bin:$HOME/Projects/golang/bin"