Closed jsmitley closed 1 year ago
We should probably use XDG variables like fisher. :thinking:
Will look at this when I next touch the project. Won't be tomorrow, sorry. Thanks for the ping!
Good point, I made that change now. Please look when you have a chance. Thanks!
Changing rm
to command rm
also fixes the issue I'm having, where I aliased rm
to rm -i
. Was seeing something like this every time I ran sdk help
:
rm: remove regular file '/var/folders/ht/q8z65bc15mx7gfzx5t3s7_mr0000gq/T/tmp.jFun2SabOO'?
Sorry for the long silence.
Moved fisher_data path from .config to .local/share to match latest fisher release
Somehow, only a README change is left on this PR. I can't seem to remember what this part was about. Is there still an issue?
Ah, got it. This is about the line that sets __fish_sdkman_noexport_init
. The path I hard-coded there was based on where fisher 3 installed plugin sources; fisher 4 uses the config dir of fish directly, unless overridden. We now use their code to determine where to put the auxiliary script. Thanks for the pointer, even though I didn't end put merging your PR! :pray:
Moved fisher_data path from .config to .local/share to match latest fisher release Changed
rm
tocommand rm
so it doesn't try to use a fishrm
function