mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +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.
(cherry picked from commit 956fffdd6f)
This commit is contained in:
parent
758dacacf4
commit
939f81c2e6
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