1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 11:36:03 +01:00

shellcheck fix: completion files

This commit is contained in:
Farid Zakaria 2025-09-25 13:20:00 -07:00
parent f8e351cd94
commit 8839bab84d
3 changed files with 2 additions and 4 deletions

View file

@ -197,10 +197,6 @@
''^tests/functional/user-envs\.sh$''
''^tests/functional/why-depends\.sh$''
# Shellcheck doesn't support fish or zsh shell syntax
''^misc/fish/completion\.fish$''
''^misc/zsh/completion\.zsh$''
# Content-addressed test files that use recursive-*looking* sourcing
# (cd .. && source <self>), causing shellcheck to loop
# They're small wrapper scripts with not a lot going on

View file

@ -1,3 +1,4 @@
# shellcheck disable=all
function _nix_complete
# Get the current command up to a cursor.
# - Behaves correctly even with pipes and nested in commands like env.

View file

@ -1,3 +1,4 @@
# shellcheck disable=all
#compdef nix
function _nix() {