btw funny story since many comments mention NFS/CIFS:
I have a share mounted at /smb and the server sometimes just dies so when I want to unmount it I run umount /smb but my shell (zsh) hangs after typing umount /sm and the b doesn’t even show
I guess zsh does a kind of stat() on everything you type but bash came to save the day
I don’t know if clean ZSH does it, but if you have the zsh-syntax-highlighting plugin, it tests if the path you’re typing exists every time you edit the line.
btw funny story since many comments mention NFS/CIFS:
I have a share mounted at /smb and the server sometimes just dies so when I want to unmount it I run umount /smb but my shell (zsh) hangs after typing umount /sm and the b doesn’t even show
I guess zsh does a kind of stat() on everything you type but bash came to save the day
I don’t know if clean ZSH does it, but if you have the zsh-syntax-highlighting plugin, it tests if the path you’re typing exists every time you edit the line.