FS#57170 - [mercurial] missing zsh completion for chg

Attached to Project: Arch Linux
Opened by andya (andya) - Saturday, 20 January 2018, 09:14 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Thursday, 08 February 2018, 11:12 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The package ships with binary `chg` for fast c-based startup, but doesn't provide zsh completions for it.

Fixing is as simple as copying contrib/zsh_completion/_hg to _chg and doing `sed 's/hg/chg/g' _chg`.

Additional info:
* Any version

Steps to reproduce:
* type `hg <TAB>`
* type `chg <TAB>`
* see the difference
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Thursday, 08 February 2018, 11:12 GMT
Reason for closing:  Upstream
Comment by andya (andya) - Saturday, 20 January 2018, 09:25 GMT
Implemented patch, also covering bash
   PKGBUILD (2.6 KiB)
Comment by andya (andya) - Saturday, 20 January 2018, 09:28 GMT
Ignore the previous attachment
   PKGBUILD (2.6 KiB)
Comment by Bartłomiej Piotrowski (Barthalion) - Thursday, 08 February 2018, 11:12 GMT
The change should be implemented upstream, most likely by extending completion files to cover chg command by default. Please bring it there (and re-open this issue if they'll disagree),

Loading...