Re: current directory
Daniel L Newhouse <[email protected]> Sun, 28 Mar 2021 19:52:47 -0500
| Newsgroups | alt.comp.cygwin |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 28 Mar 2021 18:40:31 -0500, Daniel L Newhouse <[email protected]> wrote: The fact that there is no startup script, however, means that you have to change PS1 every time you restart cygwin! I also vote for Minix compatibility. >On Sun, 28 Mar 2021 18:35:48 -0500, Daniel L Newhouse ><[email protected]> wrote: > >>K, the syntax is "\s-\v\w". What I posted was a typo. Parts of these >>Kindle books aren't searchable. Try searching on "PS1" to find it in >>Bash from O'Reilly. > > >Also, IIRC, ending the prompt with a '~' indicates a working >directory, which is normal, whereas ending it with a '$' indicates an >absolute path.