asdf.fish not found

Created on 2 Jul 2019  路  5Comments  路  Source: asdf-vm/asdf

Steps to reproduce

Installed asdf using homebrew.

Expected behavior

Expected to find ~/.asdf/asdf.fish

Actual behavior

File not found

Environment

OS:

MacOS Mojave
10.14.5 (18F132)

asdf version:

v0.7.2

Most helpful comment

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.

All 5 comments

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dmlemos picture dmlemos  路  3Comments

ypid picture ypid  路  3Comments

Antiarchitect picture Antiarchitect  路  3Comments

jayvdb picture jayvdb  路  4Comments

michalmuskala picture michalmuskala  路  5Comments