From ff632a5b5214f5d1f51e0ffbdc9eaf1e0d0b0ac1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Sat, 26 Aug 2023 11:47:39 +0200 Subject: [PATCH] feat(fish): add more completions for timers --- modules/programs/fish.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/programs/fish.nix b/modules/programs/fish.nix index fbb4c24..de683ab 100644 --- a/modules/programs/fish.nix +++ b/modules/programs/fish.nix @@ -47,6 +47,14 @@ in complete -c c -kfa '(zoxide query -l | sed "s|$HOME|~|")' ${optionalString config.virtualisation.podman.dockerCompat /* fish */ "complete -c docker -w podman"} + complete -c timers \ + -n "__fish_seen_subcommand_from toggle" \ + -fa '(timers --json l | ${getExe pkgs.jq} -r .[][].name)' + + complete -c timers \ + -n "__fish_seen_subcommand_from remove" \ + -fa '(timers --json l | ${getExe pkgs.jq} -r .[][].name)' + # Variables ${exportedVariables} '';