fix: give fish tide plugin path to config so it is recognized on activation
This commit is contained in:
1 parent
46da3ed1cc
commit
a2beafffa7
1 file changed
+10
-6
@@ -22,11 +22,15 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
home.activation.configure-tide = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
home.activation.configure-tide = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||||
if [ ! -e "$HOME/.config/fish/tide_configured" ]; then
|
run env XDG_DATA_DIRS="${pkgs.fishPlugins.tide}/share:$XDG_DATA_DIRS" \
|
||||||
echo "Configuring Tide..."
|
${pkgs.fish}/bin/fish -c "tide configure --auto \
|
||||||
$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"
|
--style=Lean \
|
||||||
$DRY_RUN_CMD touch "$HOME/.config/fish/tide_configured"
|
--prompt_colors='16 colors' \
|
||||||
echo "Finish Configuring Tide..."
|
--show_time=No \
|
||||||
fi
|
--lean_prompt_height='Two lines' \
|
||||||
|
--prompt_connection=Disconnected \
|
||||||
|
--prompt_spacing=Compact \
|
||||||
|
--icons='Few icons' \
|
||||||
|
--transient=Yes"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user