Sorry for the bad title, I don’t know how to explain it better.
Anyway, I’m trying to put an alias in my .bashrc
.
alias chrome='/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe'
For some reason when I run $ chrome
I get -bash: syntax error near unexpected token '('
. I’m getting this error even though I’m including quotes in my alias command.
Doing $ '/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe'
works and opens chrome which is expected, and removing the quotes gives the same error as the error I’m getting with the alias, which is also expected.
So I think that for whatever reason the alias doesn’t work with spaces even with me including the quotes, and I don’t know why. I’m using wsl (if it wasn’t already clear).
Thanks!