FS#59469 - [git] zsh completion throws errors on tab completion
Attached to Project:
Arch Linux
Opened by Chet Gurevitch (chetgurevitch) - Saturday, 28 July 2018, 02:20 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 03 August 2018, 15:03 GMT
Opened by Chet Gurevitch (chetgurevitch) - Saturday, 28 July 2018, 02:20 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 03 August 2018, 15:03 GMT
|
Details
Description: Completions for certain commands result in
errors (ex. git fetch: __git_remote_repositories:4: command
not found: _ssh_hosts). This can be fixed by moving
/usr/share/git/completion/git-completion.zsh to
/usr/share/zsh/site-functions/_git. Credit [1]
Steps to reproduce: Try tab completing 'git fetch repositorynamehe' 1: https://stackoverflow.com/questions/28028740/git-tab-completion-in-zsh-throwing-errors#28035917 |
This task depends upon
/usr/share/zsh/functions/Completion/Unix/_git is owned by zsh 5.5.1-2
zsh completions work entirely fine for me with no problems whatsoever, so I'm unsure why you claim it throws errors on tab-completion. Moreover, the discussion you linked has absolutely nothing to do with missing _ssh_hosts