Skip to main content
Bumped by Community user
edited tags
Link
phils
  • 55k
  • 3
  • 90
  • 134
Source Link
susja
  • 137
  • 4

Cygwin commands are not running under Emacs

I installed emacs packages from MobaXterm. When I'm in MobaXterm terminal I could run any Cygwin commands e.g. 'ls' or 'which' but when I start Emacs and call the shell it does not recognize any of unix command.

sh-4.1$ ls sh: ls: command not found sh-4.1$ pwd /drives/c/Software/MobaXterm_Portable_v22.0 sh-4.1$ ls sh: ls: command not found sh-4.1$ which pwd sh: which: command not found sh-4.1$ 

Obviously I messed with settings but could someone help to resolve it?