Artificial intelligent assistant

Can I reference a command before '&&' after '&&' Not sure how else to phrase the question, but basically, I often find myself running a command like `vagrant` to bring up the VM, and then ssh into it like below: vagrant up && vagrant ssh Short of writing my own function or script, is there a way to "reuse" the `vagrant` portion in the second part of the command?

With `(t)csh`, `bash` or `zsh` history expansion you _could_ write:


vagrant up && !#:0 ssh


But, seriously, you wouldn't

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 19f9d9462f708389ba42afd28dbcf18d