I have this alias to kill all neovim instance:
alias killnvim="ps -ef | grep nvim | awk '{print $2}' | xargs kill &> /dev/null"
Each time I run it it always return this message:
[1]    20958 done        ps -ef |
       20959 done        grep --color=auto nvim |
       20960 done        awk '{print }' |
       20961 terminated  xargs kill &> /dev/null
What should I do to suppress that message? I want my command to output nothing.
I'm using zsh if that matter.
Thanks.