1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 03:56:01 +01:00
nix/misc/bash/completion.sh
2020-05-10 20:32:21 +02:00

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