start switching to mise-en-place

Mon, 20 Jan 2025 01:01:48 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 20 Jan 2025 01:01:48 -0600
changeset 1180
308dce5084af
parent 1179
b0a0ba3240b5
child 1181
7eef65340481

start switching to mise-en-place

.profile.common file | annotate | diff | comparison | revisions
bin/homedir-setup file | annotate | diff | comparison | revisions
--- a/.profile.common
+++ b/.profile.common
@@ -15,6 +15,10 @@ if [ -d /opt/homebrew ]; then
   eval "$(/opt/homebrew/bin/brew shellenv)"
 fi
 
+if [ -x ~/.local/bin/mise ]; then
+  eval "$(mise activate ${ZSH_NAME:-bash})"
+fi
+
 if [ -d ~/.asdf ]; then
   source ~/.asdf/asdf.sh
 fi
--- a/bin/homedir-setup
+++ b/bin/homedir-setup
@@ -21,6 +21,10 @@ source .asdf/asdf.sh
 
 asdf plugin update --all
 
+if ! [[ "$(uname -m)" =~ "i.86" ]]; then
+  curl -sS 'https://mise.run/' | sh
+fi
+
 bin/setup-man || :
 
 # Get rid of older stuff

mercurial