From ff808dcd35c82b1e775a431fac28d5e632d76954 Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Wed, 16 Oct 2024 09:12:45 +0800 Subject: [PATCH] feat(mise): global symlink --- Taskfile.dist.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Taskfile.dist.yaml b/Taskfile.dist.yaml index a94daafe..d2d444c3 100644 --- a/Taskfile.dist.yaml +++ b/Taskfile.dist.yaml @@ -52,6 +52,13 @@ tasks: - git config remote.origin.pushurl git@github.com:JJGadgets/Biohazard.git - test -d $HOME/../usr/etc/termux/ && git config gpg.program $HOME/../usr/bin/okc-gpg || true + mise: + desc: Use this repo's Mise config for the whole Linux user, via symlink. + dir: '{{.USER_WORKING_DIR}}' + cmds: + - mv ~/.config/mise/config.toml ~/.config/mise/config.toml.old$(date +%Y-%m-%d) || true + - ln -s $(pwd)/.mise.toml ~/.config/mise/config.toml + n: desc: Create new folder and file within new folder at the same time. vars: