Skip to content

Commit 956fffd

Browse files
authored
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.
1 parent bac41d6 commit 956fffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/zsh/completion.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# shellcheck disable=all
21
#compdef nix
2+
# shellcheck disable=all
33

44
function _nix() {
55
local ifs_bk="$IFS"

0 commit comments

Comments
 (0)