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

Ref: #310