mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +01:00
home-manager: fix some completions commands
This commit is contained in:
parent
19c6a4081b
commit
f9041d12a9
2 changed files with 3 additions and 1 deletions
|
@ -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")
|
||||||
|
|
||||||
|
|
|
@ -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]' \
|
||||||
|
|
Loading…
Reference in a new issue