0
I create an alias
$ echo 'alias atom="C:\Users\myUser\AppData\Local\atom\atom.exe"' >> ~/.bashrc
I open bashrc file with VI editor and it shows the alias. But when I tried to use the alias it gives me the folowing error
$ atom start.txt
bash: C:UsersMyUserAppDataLocalatomatom.exe: command not found
$ atom
bash: C:UsersmyUserAppDataLocalatomatom.exe: command not found
Based on the error message and the fact that you used double quotes, you may need to double each \ . So replace each \ by \ or by / – Patrick Mevzek – 2018-07-31T14:47:02.510