Open bestlem opened 6 months ago
Yes, it would be definitely possible to use $XDG_CACHE_HOME
(if set, if not (for windows/macos) the current location should be fine). PR welcome!
@bestlem I'm new to NixOS and while I've been able to add packages from the xonsh repo (vox and fish_completer) I haven't been able to add xontrib-zoxide without error. Do you mind sharing your script for getting it built accurately 🙏
@dedguy21 Sorry I did not produce a solution - I just put the code in my initialisation. It is just the code from earlier versions and the zoxide github
execx($(zoxide init xonsh), 'exec', __xonsh__.ctx, filename='zoxide')
I have no idea what the extra code is meant to do so I could not try to use it. The change needs to be explained.
Also you put caches in ~/.cache or ~/Library/Caches and never in ~/.config - thus I have to suspect the quality of the changes as they would never have passed a code review I was involved in.
I am trying to use oxide under a nix based system.
The nix build puts the config files in a read-only file system.
Thus on start I get there error
Is it possible to create the cache code in the setup phase rather than at run-time - or at least put the files in $XDG_CACHE_HOME