New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with expanding wildcards. #92
Comments
In you screenshot it seems that you are trying to use Vim's :echo glob("`find -L '/Users/straywarrior/Documents/Developers/practice/network_programming/' -maxdepth 1 -type f -name '.vim-template:*'`") |
Thank you.
|
Hmm. I'll try to get a hold of a macbook in the next couple days to see if I can reproduce. |
@muff1nman: that would be awesome, I don't have an easy way of getting access to a MacOS X machine right now and I cannot investigate this further. Thanks a lot for offering to look into the issue :) |
vim-template seems to work fine on a near default install of Mac OSX - I installed the developer tools to use git. Are you also having this issue with Ubuntu? Can you please add |
I meet the problem both in Ubuntu and OS X.
And then my vim-template works well.
So I don't know the exact reason why vim-template cannot work without setting shell to bash. Thank you all. |
@straywarrior: That is very interesting, but I have installed set shell=/bin/fish but I cannot reproduce the issue either. I have also tried running Vim from inside hikary ~ % fish # Inside Zsh, this starts Fish
aperez@hikari ~> export SHELL=/bin/fish # Inside Fish, set variable
aperez@hikari ~> vim foo.c # Still inside Fish, try to create a new file with Vim but still I cannot reproduce the issue. Here I have Fish version 2.2.0 with its default configuration. Which version of |
I have the same problem with fish. And I can reproduce on Mac osx (default shell daniele ~> bash # inside fish, start bash
bash$ export SHELL=/bin/bash
bash$ vim Executing PS: I have not hardcoded the vim |
@dbellavista @straywarrior Can any of you confirm that you got the plug-in working when using Fish as well? Or is the bug still there for you? |
@aperezdc works for me with |
Thanks for the confirmation @dbellavista! Let's close this issue now — it can be reopened if needed later on. |
I installed vim-template on both OS X and Ubuntu and my Vim version is 7.4.
However, Vim cannot find the template files.
I find that the command "find -L ..." cannot be executed correctly in Vim:
But this command is working well in my shell, so it might be Vim's problem.
So, I modify the templates.vim to disable the use of "find" and now it works temporarily.
Is there something wrong with my Vim? I think there should be another way to solve this problem.
Thank you.
The text was updated successfully, but these errors were encountered: