I have the following line in my .bashrc
(WSL Ubuntu):
alias code="code-insiders"
I'm able to run code .
from an ubuntu.exe
terminal, but when I run wsl code .
in cmd.exe
, I get the following error:
/bin/bash: code: command not found
Is there a way for me to use alias
-generated commands with wsl
from cmd.exe
?
Thanks!
.profile
or.bash_profile
file. Or runbash --login
. You will get the idea.