[Fink-users] Problem with bash-completion and 'open' command under 10.5.1?

2008-01-24 Thread Viktor Haag
I've noticed that very recently completion for the 'open' command seems broken. I'm running 10.5.1, and bash-completion-20060301-3 under fink 0.28.0 . Here's an example of when I try to complete a file name with TAB: [machine:/usr/src/swdocs/dev/vhaag/projects/hh] $ open fo-bash: COMP_WORDS[2]:

Re: [Fink-users] Problem with bash-completion and 'open' command under 10.5.1?

2008-01-24 Thread Alexander K. Hansen
On Thursday 24 January 2008 11:13:10 am Viktor Haag wrote: I've noticed that very recently completion for the 'open' command seems broken. I'm running 10.5.1, and bash-completion-20060301-3 under fink 0.28.0 . Here's an example of when I try to complete a file name with TAB:

Re: [Fink-users] Problem with bash-completion and 'open' command under 10.5.1?

2008-01-24 Thread Mark J. Reed
On Jan 24, 2008 11:13 AM, Viktor Haag [EMAIL PROTECTED] wrote: [machine:/usr/src/swdocs/dev/vhaag/projects/hh] $ open fo-bash: COMP_WORDS[2]: unbound variable That looks like you've defined some custom completion rules using the complete builtin, and something in your completion func is

Re: [Fink-users] Problem with bash-completion and 'open' command under 10.5.1?

2008-01-24 Thread Viktor Haag
On 24/01/2008, Mark J. Reed [EMAIL PROTECTED] wrote: On Jan 24, 2008 11:13 AM, Viktor Haag [EMAIL PROTECTED] wrote: [machine:/usr/src/swdocs/dev/vhaag/projects/hh] $ open fo-bash: COMP_WORDS[2]: unbound variable That looks like you've defined some custom completion rules using the

Re: [Fink-users] Problem with bash-completion and 'open' command under 10.5.1?

2008-01-24 Thread Alexander K. Hansen
On Thursday 24 January 2008 01:56:33 pm Viktor Haag wrote: On 24/01/2008, Alexander K. Hansen [EMAIL PROTECTED] wrote: It works for me, seemingly. You're definitely on revision 3? This was added with a note from the maintainer saying that it was supposed to contain fixes for bash 3.

Re: [Fink-users] Problem with bash-completion and 'open' command under 10.5.1?

2008-01-24 Thread Viktor Haag
Hrm... I will check, but to the best of my knowledge, I haven't added any such custom completions V. --Original Message-- From: Mark J. Reed Sender: [EMAIL PROTECTED] To: Viktor Haag Cc: fink-users@lists.sourceforge.net Subject: Re: [Fink-users] Problem with bash-completion

Re: [Fink-users] Problem with bash-completion and 'open' command under 10.5.1?

2008-01-24 Thread Mark J. Reed
@lists.sourceforge.net Subject: Re: [Fink-users] Problem with bash-completion and 'open' command under 10.5.1? Sent: 24 Jan 2008 14:17 On Jan 24, 2008 1:53 PM, Viktor Haag [EMAIL PROTECTED] wrote: I have not done this to the best of my knowledge; where would such custom completion rules get stored

Re: [Fink-users] Problem with bash-completion and 'open' command under 10.5.1?

2008-01-24 Thread Viktor Haag
On 24/01/2008, Mark J. Reed [EMAIL PROTECTED] wrote: You would remember, i'm sure. It's possible some package or other did such a thing - i can readily imagine adding custom completion to open such that open -a completes further arguments as application names from /Applications, for

Re: [Fink-users] Problem with bash-completion and 'open' command under 10.5.1?

2008-01-24 Thread Viktor Haag
On 24/01/2008, Mark J. Reed [EMAIL PROTECTED] wrote: On Jan 24, 2008 1:53 PM, Viktor Haag [EMAIL PROTECTED] wrote: I have not done this to the best of my knowledge; where would such custom completion rules get stored? The rules aren't persisted, so they would take the form of complete

Re: [Fink-users] Problem with bash-completion and 'open' command under 10.5.1?

2008-01-24 Thread William Scott
such a thing - i can readily imagine adding custom completion to open such that open -a completes further arguments as application names from /Applications, for instance. The _open completion function in zsh does this.