common-fate / granted

The easiest way to access your cloud.
https://granted.dev
MIT License
957 stars 90 forks source link

fix(fish_alias): fix assume script path for fish alias for brew #561

Closed Mallear closed 7 months ago

Mallear commented 7 months ago

What changed?

fishAliasBrew value updated to match assume.fish file path.

Why?

The path of the file assume.fish was prefixed by brew --profile which resolve to /opt/homebrew but the script is stored in /opt/homebrew/bin/assume.fish

How did you test it?

Updated the path on my fish config locally when I get this error:

$ assume
source: Error encountered while sourcing file '/opt/homebrew/assume.fish':
source: No such file or directory

And checking

$ ls /opt/homebrew/bin/ | grep assume.fish
assume.fish -> ../Cellar/granted/0.20.3/bin/assume.fish