I am using byobu within xterm. Whenever I try to create a new window with bash, the window opens then immediately closes. Whenever I create a window with plain old sh however, it works fine.

I am running Crunchbang Linux.

link|improve this question

I apologize for the dupe. When I posted the first time it gave me a 408 Request Timeout error so I tried posting again. Sorry. – Wuffers Nov 8 '10 at 23:35
Is there an exit or return in your ~/.bashrc or similar startup file? Also, please detail the steps you are taking to produce this result. – Dennis Williamson Nov 9 '10 at 1:34
In my .bashrc, at line 8 there is something that says [ -z "$PS1" ] && return. And, to get this to happen, byobu has to be set to start at login, then I press F2 to create a new window with bash, after doing that, the window opens for a moment and then closes. – Wuffers Nov 9 '10 at 2:20
What is sh a link to? /bin/dash? /bin/bash? – Dustin Kirkland Feb 17 at 4:43
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.