]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
zsh/coredumpctl: don't print warnings from completion function 11273/head
authorPaul Seyfert <pseyfert.mathphys@gmail.com>
Mon, 31 Dec 2018 20:27:09 +0000 (21:27 +0100)
committerPaul Seyfert <pseyfert.mathphys@gmail.com>
Mon, 31 Dec 2018 20:27:09 +0000 (21:27 +0100)
shell-completion/zsh/_coredumpctl

index 7b4796e26bda04fbb16f3ca3a87355d15172f72d..720d02a3ef2f871d8af5cc0b1e20f77baa72fdfd 100644 (file)
@@ -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