about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSebastien Alaiwan <sebastien.alaiwan@gmail.com>2014-02-22 20:26:55 +0100
committerPeter Stephenson <pws@zsh.org>2014-02-24 09:30:04 +0000
commitafe7ff6b5dc6e979aae1695635349a33468f7d12 (patch)
tree5989a3732c47152a4bf76a66868548a137c88177
parent7e04c1a53ddada7a848753d151e18f9469788b98 (diff)
downloadzsh-afe7ff6b5dc6e979aae1695635349a33468f7d12.tar.gz
zsh-afe7ff6b5dc6e979aae1695635349a33468f7d12.tar.xz
zsh-afe7ff6b5dc6e979aae1695635349a33468f7d12.zip
32642: improve bzr completion with directory path
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_bzr4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 285d110f6..6827f5ec0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/Completion/Unix/Command/_bzr b/Completion/Unix/Command/_bzr
index 23feb6f83..ab9fd728d 100644
--- a/Completion/Unix/Command/_bzr
+++ b/Completion/Unix/Command/_bzr
@@ -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
 }