git: fix zsh shell completions (#46725)
This commit is contained in:
parent
9326e9211c
commit
21fbebd273
@ -270,6 +270,11 @@ def install_completions(self):
|
||||
)
|
||||
|
||||
mkdirp(zsh_completion_path(self.prefix))
|
||||
filter_file(
|
||||
r"\$bash_completion\/git",
|
||||
join_path(bash_completion_path(self.prefix), "git"),
|
||||
"contrib/completion/git-completion.zsh",
|
||||
)
|
||||
install(
|
||||
"contrib/completion/git-completion.zsh",
|
||||
join_path(zsh_completion_path(self.prefix), "_git"),
|
||||
|
Loading…
Reference in New Issue
Block a user