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

fix: Use more idiomatic fish #1042

Merged
merged 1 commit into from Oct 7, 2021
Merged

Conversation

maxnordlund
Copy link
Contributor

Summary

The use of . is deprecated in fish, unlike POSIX shells. We can avoid calling psub and pipe directly into source which does the same thing.

Other Information

See https://fishshell.com/docs/current/cmds/source.html

@maxnordlund maxnordlund requested a review from a team as a code owner September 8, 2021 14:33
@maxnordlund maxnordlund changed the title Use more idiomatic fish fix: Use more idiomatic fish Sep 8, 2021
The use of `.` is deprecated in fish, unlike POSIX shells. We can avoid
calling `psub` and pipe directly into source which does the same thing.

https://fishshell.com/docs/current/cmds/source.html
@maxnordlund
Copy link
Contributor Author

I've added a comment in the test that failed, which forbids source, and disabled the check using another comment in the function. I think this is good to go now. 🐟

@Stratus3D
Copy link
Member

Stratus3D commented Sep 8, 2021

@danhper you are familiar with Fish right? Can you take a look at these changes?

Thanks for the PR @maxnordlund , changes look good to me but I'm not familiar with Fish.

@jthegedus
Copy link
Contributor

I think we should merge and those testing with --head will let us know if there's issues

@Stratus3D Stratus3D merged commit 847ec73 into asdf-vm:master Oct 7, 2021
@maxnordlund maxnordlund deleted the patch-1 branch October 7, 2021 17:40
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

Successfully merging this pull request may close these issues.

None yet

3 participants