Re: current directory

Daniel L Newhouse <[email protected]> Sun, 28 Mar 2021 17:52:22 -0500
Newsgroups alt.comp.cygwin
Message-ID <[email protected]>
On Sun, 28 Mar 2021 17:18:43 -0500, Daniel L Newhouse
<[email protected]> wrote:

>Can cygwin be modified to display the current directory at the prompt?

The best I have found, using my Bash O'Reilly and my own
experimentation is  

PS1="\s-v\w"

I didn't find any difference in performance  between 'w' and 'W'.
I do see that the working directory is defined relative to PATH, which
I have no interest in changing.

If you want to see your PATH, the command is 'echo "$PATH"'.