Skip to content

[Backport 2.32-maintenance] zsh/completion: put compdef on first line#14413

Merged
internal-nix-ci[bot] merged 1 commit into2.32-maintenancefrom
backport-14410-to-2.32-maintenance
Oct 29, 2025
Merged

[Backport 2.32-maintenance] zsh/completion: put compdef on first line#14413
internal-nix-ci[bot] merged 1 commit into2.32-maintenancefrom
backport-14410-to-2.32-maintenance

Conversation

@internal-nix-ci
Copy link

Automatic backport to 2.32-maintenance, triggered by a label in #14410.

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 956fffd)
@internal-nix-ci internal-nix-ci bot requested a review from edolstra as a code owner October 29, 2025 15:58
@internal-nix-ci internal-nix-ci bot enabled auto-merge October 29, 2025 15:58
@internal-nix-ci internal-nix-ci bot merged commit f434a3e into 2.32-maintenance Oct 29, 2025
20 checks passed
@internal-nix-ci internal-nix-ci bot deleted the backport-14410-to-2.32-maintenance branch October 29, 2025 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant