aboutsummaryrefslogtreecommitdiff
path: root/modules/terminal/system/programs/broot.nix
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-07-08 01:17:08 +0000
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-07-08 01:17:08 +0000
commit2006018e7a280f70c9a7d9efc70632fbb86059ac (patch)
tree07c5bc0155ad75a07a093a77668ca89c9f18b010 /modules/terminal/system/programs/broot.nix
parentccfe06ffcf61daef56cfe0e5d3488dcb5df00bc8 (diff)
.source -> .text where possible
Diffstat (limited to 'modules/terminal/system/programs/broot.nix')
-rw-r--r--modules/terminal/system/programs/broot.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/terminal/system/programs/broot.nix b/modules/terminal/system/programs/broot.nix
index d36a5e5..4a15063 100644
--- a/modules/terminal/system/programs/broot.nix
+++ b/modules/terminal/system/programs/broot.nix
@@ -23,6 +23,12 @@ in
hjem.users."${config.collinux.user.name}" = {
files = {
".config/broot/conf.toml".source = conf;
+
+ ".config/fish/conf.d/broot.fish".text = lib.mkIf config.collinux.terminal.shells.fish.enable ''
+ if status is-interactive
+ ${pkgs.broot}/bin/broot --print-shell-function fish | source
+ end
+ '';
};
packages = [pkgs.broot];