all repos — nixfiles @ 5abff9f178f546a03db1cb299ed42c014f398930

System and user configuration, managed by nix and home-manager

fish: configure tide via home-manager activation

Alan Pearce
commit

5abff9f178f546a03db1cb299ed42c014f398930

parent

ab3cbe19467a989939375ab8e1b8c1972c359e17

1 file changed, 23 insertions(+), 1 deletion(-)

changed files
M user/settings/fish.nix → user/settings/fish.nix
@@ -30,7 +30,15 @@ fifc
autopair colored-man-pages fishbang - tide + (tide.overrideAttrs { + version = "7.0.2"; + src = pkgs.fetchFromGitHub { + owner = "plttn"; + repo = "tide"; + hash = "sha256-e51L0JNNsGc3E7gY6udstFaDWg1V1OVWl9lMHFC+2MU="; + rev = "a419157ff1ca4833dba74c27914cd8bb2a3c064b"; + }; + }) { name = "ghq"; src = pkgs.fetchFromGitHub {
@@ -90,4 +98,18 @@ programs.vivid = {
enable = !pkgs.stdenv.isDarwin; enableFishIntegration = true; }; + + home.activation.tide-configure = '' + run ${lib.getExe config.programs.fish.package} -c ' + tide configure \ + --auto \ + --style=Lean \ + --prompt_colors="16 colors" \ + --show_time="24-hour format" \ + --lean_prompt_height="Two lines" \ + --prompt_connection=Disconnected \ + --prompt_spacing=Compact \ + --icons="Few icons" + ' + ''; }