I changed the path in my .zshrc like follows:
.zshrc
export PATH="~/.config/nvim/filter:$PATH"
to
export PATH="/Users/mstep/.config/nvim/filter:$PATH
Everything is working now