From 0e8268f724aedd9d1db021036aaea3abb4f8fd3c Mon Sep 17 00:00:00 2001 From: Aldwin Vlasblom Date: Sun, 29 Mar 2020 19:35:44 +0200 Subject: [PATCH] Remove case matches that do nothing from nixops spec creation Currently, some commands are explicitly handled by a case match that does nothing, and other commands simply have no corresponding match. This commit should improve the consistency of the code when it comes to how commands that don't have any special arguments are handled. --- _nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/_nix b/_nix index 9602d72..001441f 100644 --- a/_nix +++ b/_nix @@ -925,9 +925,6 @@ function _nix_completion () { main_options=('--all' '--plain' '--no-eval') break ;; - ssh) - break - ;; ssh-for-each) main_options=( '(--parallel|-p)'{--parallel,-p} @@ -962,9 +959,6 @@ function _nix_completion () { main_options=(':->nixops_machines') break ;; - export) - break - ;; import) main_options=( '--include-keys')