mirror of
git://git.code.sf.net/p/zsh/code
synced 2026-01-01 20:11:06 +01:00
unposted: _hg: Declare $expl as an array
This commit is contained in:
parent
1aafc028b3
commit
4c935b9f85
2 changed files with 8 additions and 3 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2015-09-24 Daniel Shahaf <d.s@daniel.shahaf.name>
|
||||
|
||||
* unposted: Completion/Unix/Command/_hg: _hg: Declare $expl as
|
||||
an array
|
||||
|
||||
2015-09-24 Christoph Mathys <eraserix@gmail.com>
|
||||
|
||||
* 36613: Completion/Unix/Command/_hg: _hg: extend completion
|
||||
|
|
|
|||
|
|
@ -163,21 +163,21 @@ _hg_revrange() {
|
|||
}
|
||||
|
||||
_hg_tags_internal() {
|
||||
local expl
|
||||
local -a expl
|
||||
typeset -a hgtags
|
||||
hgtags=( ${(f)"$(_hg_cmd tags -q 2>/dev/null)"} )
|
||||
_wanted tags expl 'tags' compadd -a - hgtags
|
||||
}
|
||||
|
||||
_hg_bookmarks_internal() {
|
||||
local expl
|
||||
local -a expl
|
||||
typeset -a hgbookmarks
|
||||
hgbookmarks=( ${(f)"$(_hg_cmd bookmarks -q 2>/dev/null)"} )
|
||||
_wanted bookmarks expl 'bookmarks' compadd -a - hgbookmarks
|
||||
}
|
||||
|
||||
_hg_branches_internal() {
|
||||
local expl
|
||||
local -a expl
|
||||
typeset -a hgbranches
|
||||
hgbranches=( ${(f)"$(_hg_cmd branches -q 2>/dev/null)"} )
|
||||
_wanted branches expl 'branches' compadd -a - hgbranches
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue