I'm running Windows 10, and have BASH terminal in VisualStudioCode. My problem is that commands such as LS do not work. After some googling, i found that using this command fixes it:
This however breaks some other stuff, and so, I copied output of
echo $PATH, amalgamated the result with above-mentioned
export command, and saved it into the file. Pasting resulting command into terminal fixes everything.
And I have to do that every single time I open new terminal, which is awkward.
Is there any way to add parts from the first
export command to PATH? I know about "Edit the enviroment variable" option in windows, but either that does not work, or i'm doing it wrong, so telling me how to apply, eg.
/usr/bin in there so that it works the same way as if I entered
export PATH=/usr/bin into command line would help. Eventually, is there perhaps a way to autorun specific command each time new terminal is opened? That would help too.