mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 11:36:03 +01:00
zsh/completion: put compdef on first line
Some zsh setups (including mine) do not load the completion if `#compdef` is not on the first line. So we move the `# shellcheck` comment to the second line to avoid this issue.
This commit is contained in:
parent
bac41d6989
commit
956fffdd6f
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
# shellcheck disable=all
|
||||
#compdef nix
|
||||
# shellcheck disable=all
|
||||
|
||||
function _nix() {
|
||||
local ifs_bk="$IFS"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue