fix(fish): configure tide such that it works on first install

This commit is contained in:
2026-05-27 09:12:26 +02:00
parent 3f7d4343fc
commit 17e85e83b9
+6 -1
View File
@@ -22,6 +22,11 @@
}; };
home.activation.configure-tide = lib.hm.dag.entryAfter [ "writeBoundary" ] '' home.activation.configure-tide = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
${pkgs.fish}/bin/fish -c "tide configure --auto --style=Lean --prompt_colors='16 colors' --show_time=No --lean_prompt_height='Two lines' --prompt_connection=Disconnected --prompt_spacing=Compact --icons='Few icons' --transient=Yes" if [ ! -e "$HOME/.config/fish/tide_configured" ]; then
echo "Configuring Tide..."
$DRY_RUN_CMD ${pkgs.fish}/bin/fish -c "tide configure --auto --style=Lean --prompt_colors='16 colors' --show_time=No --lean_prompt_height='Two lines' --prompt_connection=Disconnected --prompt_spacing=Compact --icons='Few icons' --transient=Yes"
$DRY_RUN_CMD touch "$HOME/.config/fish/tide_configured"
echo "Finish Configuring Tide..."
fi
''; '';
} }