fix(fish): configure tide such that it works on first install
This commit is contained in:
@@ -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
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user