Re: Interactive non-login shell and tilde expansion

2014-01-14 Thread Steven Penny
On Tue, Jan 14, 2014 at 6:15 PM, Larry Hall (Cygwin) wrote > Perhaps it's time to add 'set -x' to your ~/.bash_profile and ~/.bashrc to see > what gets invoked on your end. Problem has been solved, I think you missed this link http://cygwin.com/ml/cygwin/2014-01/msg00152.html -- Problem reports:

Re: Interactive non-login shell and tilde expansion

2014-01-14 Thread Larry Hall (Cygwin)
On 1/14/2014 6:50 PM, Steven Penny wrote: On Tue, Jan 14, 2014 at 10:54 AM, Larry Hall (Cygwin) wrote Problem reports: http://cygwin.com/problems.html After running cygcheck -s -v -r on both a "good" and "bad" Cygwin.bat I ran a "git diff" and noticed this +PS1 = '\[\e]0;\w\

Re: Interactive non-login shell and tilde expansion

2014-01-14 Thread Steven Penny
On Tue, Jan 14, 2014 at 5:50 PM, Steven Penny wrote > However it doesnt make much sense because even with "bad" Cygwin.bat PS1 seems > to be already defined To answer my own question, PS1 is already defined, but not exported. This is because the export happens in /etc/profile, which is called with

Re: Interactive non-login shell and tilde expansion

2014-01-14 Thread Steven Penny
On Tue, Jan 14, 2014 at 10:54 AM, Larry Hall (Cygwin) wrote >> Problem reports: http://cygwin.com/problems.html After running cygcheck -s -v -r on both a "good" and "bad" Cygwin.bat I ran a "git diff" and noticed this +PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\

Re: Interactive non-login shell and tilde expansion

2014-01-14 Thread Steven Penny
On Tue, Jan 14, 2014 at 10:54 AM, Larry Hall (Cygwin) wrote > Sorry, I cannot reproduce this. I guess we need more info if you're still > having the problem. See the problem reporting guidelines at the link below. So I tried this again, more in depth - Delete C:\cygwin folder - Fresh download o

Re: Interactive non-login shell and tilde expansion

2014-01-14 Thread Larry Hall (Cygwin)
On 1/14/2014 1:26 AM, Steven Penny wrote: On Mon, Jan 13, 2014 at 9:54 PM, Steven Penny wrote $ ~/foo.sh /home/Steve0^G Update, it only produces this output if I enter "~/foo.sh" using tab completion. That is to say, "~/f" + TAB. If I manually enter each character, it works as expect

Re: Interactive non-login shell and tilde expansion

2014-01-13 Thread Steven Penny
On Mon, Jan 13, 2014 at 9:54 PM, Steven Penny wrote > $ ~/foo.sh > /home/Steve0^G Update, it only produces this output if I enter "~/foo.sh" using tab completion. That is to say, "~/f" + TAB. If I manually enter each character, it works as expected. -- Problem reports: http://cygwin

Interactive non-login shell and tilde expansion

2014-01-13 Thread Steven Penny
If you look at the Cygwin.bat file you have this line bash --login -i Starting Cygwin this way yields expected results $ cat ~/foo.sh cat -v <<< ~ $ ~/foo.sh /home/Steven However if you change the line in Cygwin.bat to this bash -i it produces unexpected results