public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Bash tab completion for batch files
@ 2018-01-21  9:35 Grant Lewis
  2018-01-21 11:14 ` Eliot Moss
  0 siblings, 1 reply; 3+ messages in thread
From: Grant Lewis @ 2018-01-21  9:35 UTC (permalink / raw)
  To: cygwin

I’m running latest Cygwin under a Windows 10 VM. Tab completion for batch files is not functioning. I have the bash-completion package installed. Batch file completion does work under the zsh. Is there anything I can do to get it working under the bash shell?

 

Thanks,

Grant


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bash tab completion for batch files
  2018-01-21  9:35 Bash tab completion for batch files Grant Lewis
@ 2018-01-21 11:14 ` Eliot Moss
  0 siblings, 0 replies; 3+ messages in thread
From: Eliot Moss @ 2018-01-21 11:14 UTC (permalink / raw)
  To: cygwin

On 1/21/2018 4:35 AM, Grant Lewis wrote:
> I’m running latest Cygwin under a Windows 10 VM. Tab completion for batch files is not functioning. I have the bash-completion package installed. Batch file completion does work under the zsh. Is there anything I can do to get it working under the bash shell?

.bat complete for me under cygwin bash - provided that appear to
have x permission set from cygwin's point of view.

What does ls -l show for permissions on you .bat file under cygwin?

(I can't speak for zsh ...)

Regards - Eliot Moss

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bash tab completion for batch files
@ 2018-01-21 14:33 Grant Lewis
  0 siblings, 0 replies; 3+ messages in thread
From: Grant Lewis @ 2018-01-21 14:33 UTC (permalink / raw)
  To: cygwin

Yeah, all the permissions are 644 on the batch files. In my particular case,

the folder in question is a VMware shared folder from my host with a symbolic

link under Windows to a project folder under the C: drive. I tried changing the

permissions to 755 on my Mac host but they persist as 644 under Cygwin.

I suspect the tab completion is related to the permissions on the files, but

I can’t change them under Cygwin. My temporary fix is creating a symbolic

link under Cygwin.

 

Thanks,

Grant


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-21 14:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-21  9:35 Bash tab completion for batch files Grant Lewis
2018-01-21 11:14 ` Eliot Moss
2018-01-21 14:33 Grant Lewis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).