mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 08:12:29 +00:00
8 lines
184 B
Bash
8 lines
184 B
Bash
|
function _complete_nix {
|
||
|
while IFS= read -r line; do
|
||
|
COMPREPLY+=("$line")
|
||
|
done < <(NIX_GET_COMPLETIONS=$COMP_CWORD "${COMP_WORDS[@]}")
|
||
|
}
|
||
|
|
||
|
complete -F _complete_nix nix
|