1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01:00

home-manager: fix some completions commands

This commit is contained in:
e-nikolov 2023-09-08 07:18:34 +02:00 committed by Robert Helgesson
parent 19c6a4081b
commit f9041d12a9
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
2 changed files with 3 additions and 1 deletions

View file

@ -301,7 +301,7 @@ _home-manager_completions ()
"--verbose" "--cores" "--debug" "--impure" "--keep-failed" \ "--verbose" "--cores" "--debug" "--impure" "--keep-failed" \
"--keep-going" "-j" "--max-jobs" "--no-substitute" "--no-out-link" \ "--keep-going" "-j" "--max-jobs" "--no-substitute" "--no-out-link" \
"-L" "--print-build-logs" \ "-L" "--print-build-logs" \
"--show-trace" "--substitute" "--builders" "--version" \ "--show-trace" "--flake" "--substitute" "--builders" "--version" \
"--update-input" "--override-input" "--experimental-features" \ "--update-input" "--override-input" "--experimental-features" \
"--extra-experimental-features" "--refresh") "--extra-experimental-features" "--refresh")

View file

@ -6,6 +6,7 @@ _arguments \
'-A[attribute]:ATTRIBUTE:()' \ '-A[attribute]:ATTRIBUTE:()' \
'-I[search path]:PATH:_files -/' \ '-I[search path]:PATH:_files -/' \
'-b[backup files]:EXT:()' \ '-b[backup files]:EXT:()' \
'--flake[flake-uri]:PATH:_files -/' \
'--cores[cores]:NUM:()' \ '--cores[cores]:NUM:()' \
'--debug[debug]' \ '--debug[debug]' \
'--impure[impure]' \ '--impure[impure]' \
@ -53,6 +54,7 @@ case "$state" in
build|switch) build|switch)
_arguments \ _arguments \
'--cores[cores]:NUM:()' \ '--cores[cores]:NUM:()' \
'--flake[flake-uri]:PATH:_files -/' \
'--debug[debug]' \ '--debug[debug]' \
'--impure[impure]' \ '--impure[impure]' \
'--keep-failed[keep failed]' \ '--keep-failed[keep failed]' \