RFC: Handle `j -- foo` (for bash and zsh only)

Ref: #310 

It only fixes the functions for Bash and Zsh for now.

Is it OK like this?