Mercurial > dotfiles
diff .chezmoiscripts/run_once_after_39-install-helix.sh.tmpl @ 1036:31351132efca
feat: switch rtx to mise and fixes for clean installs
author | Zeger Van de Vannet <zeger@vandevan.net> |
---|---|
date | Sun, 16 Jun 2024 20:24:58 +0200 |
parents | 8284bef42d1b |
children | 576f9efb8a31 9f9d247727fe |
line wrap: on
line diff
--- a/.chezmoiscripts/run_once_after_39-install-helix.sh.tmpl Thu Jun 13 19:39:13 2024 +0200 +++ b/.chezmoiscripts/run_once_after_39-install-helix.sh.tmpl Sun Jun 16 20:24:58 2024 +0200 @@ -16,7 +16,7 @@ bash setup.sh popd -cargo build --release --locked +{{ if (eq .chezmoi.osRelease.name "Ubuntu") }} $HOME/bin/mise x [email protected] -- {{ end }} cargo build --release --locked rm -rf $HELIX_DEFAULT_RUNTIME mkdir -p $HELIX_DEFAULT_RUNTIME cp -r runtime/* $HELIX_DEFAULT_RUNTIME/ @@ -26,7 +26,7 @@ if [ -L $dest ] && [ -e $dest ]; then echo 'Already linked!' else - ln -s $HELIX_INSTALL_DIR/hx + ln -s $HELIX_INSTALL_DIR/hx $dest fi {{ end }}