Open rombat opened 9 years ago
Ok, here's the weird thing. I've found what the problem is, even if I don't understand why: I was using zsh with oh-my-zsh inside my VM. If I use bash, I can do whatever I want inside the NFS shared folder. But as soon as I try with zsh, my shell is stuck.
I've tried to remove oh-my-zsh: no problem, I can cd
into my NFS shared folder. I don't understand.
Any idea?
I was using zsh with oh-my-zsh inside my VM put
git config --global --add oh-my-zsh.hide-status 1
Here's my setup: My host OS is Windows 8.1, and my guest VM is Vagrant Homestead (Ubuntu 14.04).
Since it was terribly slow with VirtualBox shared folders, I installed vagrant winnfsd. Then I edited my Homestead.yaml, and added
type: nfs
after my folder map:If I do a
vagrant up
, everything is working just fine: the folder is mounted, and I can see my projet from my host machine.The only problem is, when I
vagrant ssh
, if I want to go to my project folder (cd ~/Code/laravel
), my terminal (Git for Windows) just hang and I can't do anything more. I canls ~/Code/laravel
, but if I try tocd ~/Code/laravel
, it's stuck.It only happens if the folder is mounted with NFS. If I use VirtualBox shared folders, I can browse whatever I want (but laravel is painfully slow).
Does anyone know how to fix this? I'm sure I'm not the only one to have tried this.
Thanks in advance.