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

Issue with recent MacOS update? #776

Closed
crcastle opened this issue Sep 12, 2023 · 4 comments
Closed

Issue with recent MacOS update? #776

crcastle opened this issue Sep 12, 2023 · 4 comments

Comments

@crcastle
Copy link

crcastle commented Sep 12, 2023

I'm just getting an error every time a new command line is shown: realpath: illegal option -- -.

CleanShot 2023-09-11 at 18 08 32@2x

It looks like it has something to do with fisher because the error references realpath which I can only find being called in fisher.fish.

Any idea what's going on here? I'm not sure with what arguments realpath is being called, so I'm not sure how to debug.

EDIT: I'm on a MacBook Pro with the M1 Pro CPU. OS is 13.5.2, which came out around Sept 7.

@toabi
Copy link

toabi commented Sep 12, 2023

I just noticed the same here after I upgraded all my brew+macOS things after some holidays.

I tried to edit this line and add some debug printing but actually nothing got printed… so I wonder if fisher really is to blame here…

So now I went to check if some of my other tools which are used in the fish/config file maybe use some realpath wrong (direnv, starship, thefuck, asdf) … and it looks like asdf is to blame in my case. Maybe you also use it?

@crcastle
Copy link
Author

I think you are correct @toabi. I found this comment in asdf PR asdf-vm/asdf#1637. It looks like version 0.13.1 was released with this fix a few hours ago, but this new version hasn't made it to homebrew yet. I used homebrew to install asdf, so I'll just wait a day or two until the homebrew formula for asdf is updated.

Closing this issue. Sorry for the misdirection folks.

@DianaTheCoderess
Copy link

DianaTheCoderess commented Sep 13, 2023

@crcastle this issue and @toabi's answer pointed me in the right direction. So no worries and thx :)

@Sinderella
Copy link

@crcastle there you go 😄 Homebrew/homebrew-core#142183

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants