Morantron / tmux-fingers

copy pasting in terminal with vimium/vimperator like hints.
MIT License
1k stars 46 forks source link

Cache directory creation causes error when plugin is installed into a read-only directory #98

Closed stelcodes closed 1 year ago

stelcodes commented 1 year ago

I'm trying to use tmux-fingers from NixOS which installs all packages to read-only locations in /nix/store. On line 26 of tmux-fingers.tmux a .cache directory is created in the plugin directory and this leads to an error and the plugin failing to initialize on my machine. It seems like this .cache directory is never used, is that correct? Would you be open to removing that line if so?

https://github.com/Morantron/tmux-fingers/blob/2e08de209ed47c0e240b5314045e034c691913a9/tmux-fingers.tmux#L26

Morantron commented 1 year ago

Oops, yes, makes sense. Just removed that line in latest version.

stelcodes commented 1 year ago

@Morantron Awesome, thanks. The new version looks really cool!