From f9041d12a90e8bc0c90e03be2ebe26a6c6e6fd70 Mon Sep 17 00:00:00 2001 From: e-nikolov Date: Fri, 8 Sep 2023 07:18:34 +0200 Subject: [PATCH] home-manager: fix some completions commands --- home-manager/completion.bash | 2 +- home-manager/completion.zsh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/home-manager/completion.bash b/home-manager/completion.bash index de780451..d59c8a11 100644 --- a/home-manager/completion.bash +++ b/home-manager/completion.bash @@ -301,7 +301,7 @@ _home-manager_completions () "--verbose" "--cores" "--debug" "--impure" "--keep-failed" \ "--keep-going" "-j" "--max-jobs" "--no-substitute" "--no-out-link" \ "-L" "--print-build-logs" \ - "--show-trace" "--substitute" "--builders" "--version" \ + "--show-trace" "--flake" "--substitute" "--builders" "--version" \ "--update-input" "--override-input" "--experimental-features" \ "--extra-experimental-features" "--refresh") diff --git a/home-manager/completion.zsh b/home-manager/completion.zsh index 52bcce90..43cc9bdb 100644 --- a/home-manager/completion.zsh +++ b/home-manager/completion.zsh @@ -6,6 +6,7 @@ _arguments \ '-A[attribute]:ATTRIBUTE:()' \ '-I[search path]:PATH:_files -/' \ '-b[backup files]:EXT:()' \ + '--flake[flake-uri]:PATH:_files -/' \ '--cores[cores]:NUM:()' \ '--debug[debug]' \ '--impure[impure]' \ @@ -53,6 +54,7 @@ case "$state" in build|switch) _arguments \ '--cores[cores]:NUM:()' \ + '--flake[flake-uri]:PATH:_files -/' \ '--debug[debug]' \ '--impure[impure]' \ '--keep-failed[keep failed]' \