fix(mise): make setup tasks safer
This commit is contained in:
@@ -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
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user