1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00
nix/misc/bash/completion.sh

8 lines
184 B
Bash
Raw Normal View History

2020-05-10 14:32:21 -04:00
function _complete_nix {
while IFS= read -r line; do
COMPREPLY+=("$line")
done < <(NIX_GET_COMPLETIONS=$COMP_CWORD "${COMP_WORDS[@]}")
}
complete -F _complete_nix nix