Installed asdf using homebrew.
Expected to find ~/.asdf/asdf.fish
File not found
OS:
MacOS Mojave
10.14.5 (18F132)
asdf version:
v0.7.2
Thanks for reporting. I think this is more an issue with the documentation. I suppose if you installed asdf with brew asdf.fish should be somewhere in /usr/local. I unfortunately do not have a mac to check so if someone using asdf with homebrew could confirm it would be great.
Yeah I worked around this by sourcing /usr/local/Cellar/asdf/0.7.2/asdf.fish
But I thought maybe the right solution would be to copy that file to the asdf data folder on install.
What do you think?
This is the homebrew formula https://github.com/Homebrew/homebrew-core/blob/master/Formula/asdf.rb
I added source (brew --prefix asdf)/asdf.fish to my config.fish to cope with updates to the asdf version. I would have updated the docs, but I'm not sure if doubling the number of tabs in the "Add to your shell" section or adding a note at the bottom of that section would be the best approach.
But I thought maybe the right solution would be to copy that file to the asdf data folder on install.
What do you think?
I think that it is ok as-is but the documentation should be updated. An issue is that what we use for the documentation does not support nested tabs and, as @lee-dohm mentioned, I'm not sure what the best way to structure the doc is either.
For now, I would suggest that we do the same as for ZSH: https://github.com/asdf-vm/asdf/pull/537
If somebody could try it for fish and send a PR, it would be great!
Most helpful comment
I added
source (brew --prefix asdf)/asdf.fishto myconfig.fishto cope with updates to the asdf version. I would have updated the docs, but I'm not sure if doubling the number of tabs in the "Add to your shell" section or adding a note at the bottom of that section would be the best approach.