skywind3000 / z.lua

:zap: A new cd command that helps you navigate faster by learning your habits.
MIT License
2.94k stars 137 forks source link

Weird behavior in Cryptomator vault (FUSE) #191

Open ret2src opened 8 months ago

ret2src commented 8 months ago

When using the plugin inside a Cryptomator vault, it doesn't work and triggers a very interesting error message.

  1. Download and install Cryptomator on Linux
  2. Create a new vault, unlock the vault and open a shell inside the unlocked vault (which is a FUSE mount)
  3. Create a directory inside the vault, e.g. mkdir test
  4. Change into the directory cd test
  5. Receive a weird error message:
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on
Error: Could not find or load main class .home.user..local.share.sheldon.repos.github.com.skywind3000.z.lua.z.lua
Caused by: java.lang.ClassNotFoundException: /home/user//local/share/sheldon/repos/github/com/skywind3000/z/lua/z/lua

Should the plugin be compatible with FUSE or is this a known limitation? (Maybe it has nothing to do with FUSE and is a Cryptomator problem, not sure...)