Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing from fish via Homebrew #107

Open
deepfriedmind opened this issue Jun 2, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@deepfriedmind
Copy link

commented Jun 2, 2019

When I ran brew install Schniz/tap/fnm I got the following "caveat":

Skipped the installation of fnm to ~/.config/fish/config.fish because I found `# fnm`.
In case you want to do it manually, add the following to the file:

  # fnm
  eval "$(fnm env --multi)"

I did not have that in my config.fish previously, so it was definitely added during installation. However, this isn't the correct syntax for fish and will break the config. It should be fnm env --multi | source, right?

@Schniz

This comment has been minimized.

Copy link
Owner

commented Jun 3, 2019

You are correct! This is weird, I thought it would work:
https://github.com/Schniz/homebrew-tap/blob/0b3b01af9ff34e1132ae8d7c13af3dda7b6a14ca/Formula/fnm.rb#L33-L39

Do you want to try to debug it, or you want me to do that? 😄

I consider adding the "setup script" to fnm as well, but that would probably be super weird

@Schniz Schniz added the fish shell label Jun 3, 2019

@deepfriedmind

This comment has been minimized.

Copy link
Author

commented Jun 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.