Re: Why does default shell prompt PS1 contain newlines (\n)?

2017-04-05 Thread Brian Inglis
On 2017-04-05 11:28, cyg Simple wrote: > On 4/5/2017 12:53 PM, "\"[[\"Dr. Matthias H. Fröhlich" wrote: >> After installing "plain vanilla" cygwin I noticed, that default >> definition of PS1 from /etc/bash.bashrc contains newline characters >> '\n': >> # Set a default prompt of: user@host and

Re: Why does default shell prompt PS1 contain newlines (\n)?

2017-04-05 Thread cyg Simple
On 4/5/2017 12:53 PM, "\"[[\"Dr. Matthias H. Fröhlich" wrote: > After installing "plain vanilla" cygwin I noticed, that default definition of > PS1 from /etc/bash.bashrc contains newline characters '\n': > # Set a default prompt of: user@host and current_directory > PS1='\[\e]0;\w\a\]\

Why does default shell prompt PS1 contain newlines (\n)?

2017-04-05 Thread "[["Dr. Matthias H. Fröhlich
After installing "plain vanilla" cygwin I noticed, that default definition of PS1 from /etc/bash.bashrc contains newline characters '\n': # Set a default prompt of: user@host and current_directory PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ ' This does immediately lead