Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Console] Fix the usage of the zsh completion through the fpath discovery#50110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:6.2fromstof:fix_zsh_global_completion
Apr 22, 2023

Conversation

@stof
Copy link
Member

QA
Branch?6.2
Bug fix?yes
New feature?no
Deprecations?no
Ticketsn/a
LicenseMIT
Doc PRn/a

Zsh completion files registered through the fpath discovery mecanism have 2 requirements:

  • the file name must have a_ prefix
  • the file must start with a#compdef comment describing the registration for that file.

The file can then either execute the completion logic directly or callcompdef to register a function for completion. Keeping the second approach allows to use the same generated script for the global use case than for a sourced configuration script.

Zsh completion files registered through the fpath discovery mecanismhave 2 requirements:- the file name must have a `_` prefix- the file must start with a `#compdef` comment describing the  registration for that file.The file can then either execute the completion logic directly or call`compdef` to register a function for completion. Keeping the secondapproach allows to use the same generated script for the global use casethan for a sourced configuration script.
@fabpot
Copy link
Member

Thank you@stof.

@fabpotfabpot merged commit180eb01 intosymfony:6.2Apr 22, 2023
@fabpotfabpot mentioned this pull requestApr 28, 2023
@stofstof deleted the fix_zsh_global_completion branchMay 11, 2023 13:57
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@chalasrchalasrchalasr approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

6.2

Development

Successfully merging this pull request may close these issues.

4 participants

@stof@fabpot@chalasr@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp