From 0b77143e40e43147ee3e9964d84c5e272b5e42fb Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 6 Jan 2024 21:32:44 +0100 Subject: docs(hm/pkgs/scr/specific/ytcc/yts): Add a help text --- hm/soispha/pkgs/scripts.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hm/soispha/pkgs/scripts.nix') diff --git a/hm/soispha/pkgs/scripts.nix b/hm/soispha/pkgs/scripts.nix index f69bc4cf..7babfae2 100644 --- a/hm/soispha/pkgs/scripts.nix +++ b/hm/soispha/pkgs/scripts.nix @@ -10,6 +10,7 @@ path, dependencies ? [], keep_path ? false, + completions ? false, }: if keep_path then @@ -17,12 +18,14 @@ inherit name; src = ./scripts/${path}/${name}; dependencies = dependencies ++ [pkgs.dash]; + generateCompletions = completions; } else sysLib.writeShellScriptWithLibrary { inherit name; src = ./scripts/${path}/${name}; dependencies = dependencies ++ [pkgs.dash]; + generateCompletions = completions; }; write_python = { name, @@ -239,6 +242,7 @@ name = "yts"; path = "specific/ytcc"; keep_path = true; # We need neovim + completions = true; dependencies = builtins.attrValues { inherit (pkgs) ytcc jq gawk ytc; }; -- cgit 1.4.1