.zshrc alias for ssh gives "unknown host"
- by eeeeeean
New zsher here.
When I do
$ ssh [email protected]
all is well. But when I create an alias in .zshrc:
alias foo='ssh [email protected]' and run foo, I get "Could not resolve hostname". Question: how do I begin to figure out what's going on? It all works for me in bash, but that has nothing to do with me knowing what I'm doing!
Update: When I change my alias to alias foo='user@ip_addess_for_foo' it works. A bug, maybe.