git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git Bash Bug

From
Paul Smith <paul@mad-scientist.net>
Date
Jul 14, 2017, 15:03 UTC
Message-ID
<1500044588.25789.109.camel@mad-scientist.net>
In-Reply-To
<CAAu0pLdjvcxda0rip8JOzt1q0HNuu4dBNHvEzJbeey6yRSyCCQ@mail.gmail.com>
On Fri, 2017-07-14 at 09:59 -0500, Kavita Desai wrote:
> What does "echo $PATH" show?
> /c/Users/Kavita/
Well, there you go.  That's clearly wrong.

You absolutely have to have /bin and /usr/bin on your PATH, _at least_ if you want to be able to run standard UNIX tools. And most likely you'll have a ton of other directories on your PATH as well.

I would investigate the shell configuration files etc. and see where you've messed up resetting your PATH variable.

> What does "type -a ls" show?
> ls is aliased to `ls -F --color=auto --show-control-chars'
Yep.  There is no ls binary found.
Previous: Kavita DesaiNext: Johannes Schindelin
Message 6 of 9 in “Git Bash Bug”
  1. Kavita DesaiJul 14, 2017
  2. Johannes SchindelinJul 14, 2017
  3. Kavita DesaiJul 14, 2017
  4. Paul SmithJul 14, 2017
  5. Kavita DesaiJul 14, 2017
  6. Paul SmithJul 14, 2017
  7. Johannes SchindelinJul 14, 2017
  8. Paul SmithJul 14, 2017
  9. Johannes SchindelinJul 14, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.