Just a curiosity.

I have the following link on Desktop:

C:\cygwin\bin\run.exe bash -l -c start_urxvt.sh

with which I run 'start_urxvt.sh' located in /usr/local/bin.

'start_urxvt.sh' contains at the end:

[...]
exec /usr/bin/urxvt

which starts an URXVT console.

Well, the fact is that its prompt is:

sh-3.2$

If I change the above link using the '-e' instead of '-c' option,

C:\cygwin\bin\run.exe bash -l -e start_urxvt.sh

then the prompt is the one I like, i.e.

[EMAIL PROTECTED] ~
$

I have searched the description of '-e' option using 'man bash' but I have not found it. (I have also searched the string '-e' in bash.1, but without success)

Is there a bug in bash.1 or what else?


Cheers,
   Angelo.

---
Tu proverai si' come sa di sale
lo pane altrui, e come e' duro calle
lo scendere e 'l salir per l'altrui scale.
.
                  DANTE, Paradiso, xvii 58-60

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to