mirror of
https://github.com/NixOS/nix
synced 2025-06-25 02:21:16 +02:00
7 lines
184 B
Bash
7 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
|