mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
shellcheck fix: completion files
This commit is contained in:
parent
f8e351cd94
commit
8839bab84d
3 changed files with 2 additions and 4 deletions
|
|
@ -197,10 +197,6 @@
|
||||||
''^tests/functional/user-envs\.sh$''
|
''^tests/functional/user-envs\.sh$''
|
||||||
''^tests/functional/why-depends\.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
|
# Content-addressed test files that use recursive-*looking* sourcing
|
||||||
# (cd .. && source <self>), causing shellcheck to loop
|
# (cd .. && source <self>), causing shellcheck to loop
|
||||||
# They're small wrapper scripts with not a lot going on
|
# They're small wrapper scripts with not a lot going on
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
# shellcheck disable=all
|
||||||
function _nix_complete
|
function _nix_complete
|
||||||
# Get the current command up to a cursor.
|
# Get the current command up to a cursor.
|
||||||
# - Behaves correctly even with pipes and nested in commands like env.
|
# - Behaves correctly even with pipes and nested in commands like env.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
# shellcheck disable=all
|
||||||
#compdef nix
|
#compdef nix
|
||||||
|
|
||||||
function _nix() {
|
function _nix() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue