/bin/sh on Cygwin doesn't understand the ~ character. It's a rather limited shell.
try this: :set shell=/bin/bash Luke On Mon, 4 Mar 2002, Pavel Tsekov wrote: > Hey, there! :) > > I have noticed the following behaviour of VIM and thought it is worth > reporting it to the list. Trying to execute an external command from > vim and passing it a file name parameter from my home directory using > the tilde character fails: > > sha1sum: ~/gdbtk.ini: No such file or directory > > shell returned 1 > > Hit ENTER or type command to continue > > The output above is generated from the following vim command: > ":!sha1sum.exe ~/gdbtk.ini". The same command on linux yields the > right result. > > Actually I'll investigate/debug this further this night (maybe) but if > someone knows more on this issue, feel free to speak :) > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/