summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
authorPaul Seyfert <pseyfert.mathphys@gmail.com>2018-12-31 21:27:09 +0100
committerPaul Seyfert <pseyfert.mathphys@gmail.com>2018-12-31 21:27:09 +0100
commit0e9ab1af64fad5be3793fefe92a2df9d4570aa07 (patch)
tree042bd943bc9c7a754c9feb7f39bccfaaded91d09 /shell-completion
parentffc7a6e9312460109936c38425eb18e2f61b8afa (diff)
downloadsystemd-0e9ab1af64fad5be3793fefe92a2df9d4570aa07.tar.gz
zsh/coredumpctl: don't print warnings from completion function
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/zsh/_coredumpctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/zsh/_coredumpctl b/shell-completion/zsh/_coredumpctl
index 7b4796e26b..720d02a3ef 100644
--- a/shell-completion/zsh/_coredumpctl
+++ b/shell-completion/zsh/_coredumpctl
@@ -16,7 +16,7 @@ _coredumpctl_command(){
local -a _dumps
cmd="${${_coredumpctl_cmds[(r)$words[1]:*]%%:*}}"
if (( $#cmd )); then
- _dumps=( "${(f)$(coredumpctl list --no-legend | awk 'BEGIN{OFS=":"} {sub(/[[ \t]+/, ""); print $4,$0}' 2>/dev/null)}" )
+ _dumps=( "${(f)$(coredumpctl list -q --no-legend | awk 'BEGIN{OFS=":"} {sub(/[[ \t]+/, ""); print $4,$0}' 2>/dev/null)}" )
if [[ -n "$_dumps" ]]; then
_describe -V -t pids 'coredumps' _dumps
else