diff options
author | Paul Seyfert <pseyfert.mathphys@gmail.com> | 2018-12-31 21:27:09 +0100 |
---|---|---|
committer | Paul Seyfert <pseyfert.mathphys@gmail.com> | 2018-12-31 21:27:09 +0100 |
commit | 0e9ab1af64fad5be3793fefe92a2df9d4570aa07 (patch) | |
tree | 042bd943bc9c7a754c9feb7f39bccfaaded91d09 /shell-completion | |
parent | ffc7a6e9312460109936c38425eb18e2f61b8afa (diff) | |
download | systemd-0e9ab1af64fad5be3793fefe92a2df9d4570aa07.tar.gz |
zsh/coredumpctl: don't print warnings from completion function
Diffstat (limited to 'shell-completion')
-rw-r--r-- | shell-completion/zsh/_coredumpctl | 2 |
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 |