1 2 3 4 5 6 7
fs.copyfile( 'completion.sh', 'nix', install : true, install_dir : datadir / 'bash-completion/completions', install_mode : 'rw-r--r--', )