feat(fish): add more completions for timers

This commit is contained in:
Moritz Böhme 2023-08-26 11:47:39 +02:00
parent 67dd3bd65d
commit ff632a5b52
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

View file

@ -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}
'';