diff options
Diffstat (limited to 'modules/scripts/nix-update/completion.zsh')
| -rw-r--r-- | modules/scripts/nix-update/completion.zsh | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/modules/scripts/nix-update/completion.zsh b/modules/scripts/nix-update/completion.zsh deleted file mode 100644 index a9500e6..0000000 --- a/modules/scripts/nix-update/completion.zsh +++ /dev/null @@ -1,22 +0,0 @@ -#compdef nix-update - -_arguments \ - '1: :->target' \ - '*:: :->flags' - -case $state in - target) - local -a commands - commands=( - 'home-manager:Update and switch home-manager configuration' - 'nixos:Update and switch NixOS configuration' - 'both:Update and switch both configurations' - ) - _describe 'command' commands - ;; - flags) - _arguments \ - '--only-flake[Only run nix flake update, skip switch commands]' \ - '--only-switch[Only run switch commands, skip nix flake update]' - ;; -esac |
