diff --git a/config/mise/config.toml b/config/mise/config.toml index 693a5ca..e9e1938 100644 --- a/config/mise/config.toml +++ b/config/mise/config.toml @@ -51,15 +51,16 @@ 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 - fish -c "fisher install franciscolourenco/done" fi + fish -c "fisher install franciscolourenco/done" +fi ''' [tasks.setup_nvim]