summaryrefslogtreecommitdiff
path: root/shell/bash-completion
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2017-03-12 09:50:11 -0400
committerDave Reisner <dreisner@archlinux.org>2017-03-12 09:50:28 -0400
commit682132448e1d73608506f3c5c4d52fc422a207b1 (patch)
tree1c11f9a9a23147627175f1e2f8282e8e89f3f761 /shell/bash-completion
parent82951aafc58d0ea4529387bd180d28a664506743 (diff)
downloadasp32-682132448e1d73608506f3c5c4d52fc422a207b1.tar.xz
dump stderr when calling ls-files through completion
Diffstat (limited to 'shell/bash-completion')
-rw-r--r--shell/bash-completion2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/bash-completion b/shell/bash-completion
index 339134f..292de56 100644
--- a/shell/bash-completion
+++ b/shell/bash-completion
@@ -55,7 +55,7 @@ _asp() {
case $verb in
show)
if (( i < ${#COMP_WORDS[@]} - 2 )); then
- comps=$(\asp ls-files "${COMP_WORDS[i+1]}")
+ comps=$(\asp ls-files "${COMP_WORDS[i+1]}" 2>/dev/null)
fi
;;
'')