fish: concatStringsSep

This commit is contained in:
Zynh Ludwig 2025-02-08 16:56:20 -08:00
parent 07531deb32
commit 432fb060ac

View file

@ -42,10 +42,11 @@ in
shellAbbrs = lib.mkIf (!macos) {
copy = "xclip -sel clip";
};
interactiveShellInit =
builtins.readFile "${inputs.fish_theme}/fish_prompt.fish" + "\n" +
builtins.readFile ../fish/config.fish + "\n" +
"${lib.getExe pkgs.any-nix-shell} fish --info-right | source";
interactiveShellInit = lib.concatStringsSep "\n" [
(builtins.readFile "${inputs.fish_theme}/fish_prompt.fish")
(builtins.readFile ../fish/config.fish)
"${lib.getExe pkgs.any-nix-shell} fish --info-right | source"
];
};
home.packages = with pkgs; [