mirror of git://git.code.sf.net/p/zsh/code
32642: improve bzr completion with directory path
This commit is contained in:
parent
7e04c1a53d
commit
afe7ff6b5d
|
@ -1,3 +1,8 @@
|
|||
2014-02-24 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* Sebastien Alaiwan: 32462: Completion/Unix/Command/_bzr:
|
||||
improve completion with directory path.
|
||||
|
||||
2014-02-23 Barton E. Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 32427: Doc/Zsh/zle.yo, Src/Zle/zle_main.c: avoid busy loop
|
||||
|
|
|
@ -25,7 +25,7 @@ curcontext="${curcontext%:*:*}:bzr-$cmd:"
|
|||
(( $+functions[_bzr_unknownFiles] )) ||
|
||||
_bzr_unknownFiles() {
|
||||
local fileList
|
||||
fileList=(${(ps:\0:)"$(bzr ls --null --unknown)"})
|
||||
fileList=(${(ps:\0:)"$(bzr ls --null --unknown -R)"})
|
||||
compadd -af fileList
|
||||
return 0
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ _bzr_unknownRoot() {
|
|||
(( $+functions[_bzr_versionedFiles] )) ||
|
||||
_bzr_versionedFiles() {
|
||||
local fileList
|
||||
fileList=(${(ps:\0:)"$(bzr ls --null --versioned)"})
|
||||
fileList=(${(ps:\0:)"$(bzr ls --null --versioned -R)"})
|
||||
compadd -af fileList
|
||||
return 0
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue