fix(mise): make setup tasks safer

This commit is contained in:
2026-10-09 11:58:37 -04:00
parent b304d302a7
commit a83a1c170b
+3 -2
View File
@@ -51,13 +51,14 @@ run = [
'pi install npm:@plannotator/pi-extension',
'pi install npm:pi-hermes-memory',
'pi install npm:pi-msg-queue',
'test -x /usr/bin/pass && /usr/bin/pass show config/pi/auth.json > ~/.pi/agent/auth.json'
]
[tasks.setup_fish]
run = '''
if [ -x /usr/bin/fish ]; then
if [[ -x /usr/bin/fish ]]; then
if [[ "$(getent passwd "$USER" | cut -d: -f7)" != /usr/bin/fish ]]; then
chsh -s /usr/bin/fish
fi
fish -c "fisher install franciscolourenco/done"
fi
'''