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

feat(command-lm): add PATH configuration for fish shell #1943

Merged
merged 2 commits into from
Mar 16, 2021

Conversation

erezrokah
Copy link
Contributor

- Summary

Replaces netlify/netlify-lm-plugin#42

- Test plan

Existing tests are passing

- Description for the changelog

Add fish shell support for Large Media install command

- A picture of a cute animal (not mandatory but encouraged)
image

@erezrokah
Copy link
Contributor Author

@lytedev it would be great if you can verify the changes in this PR

@erezrokah erezrokah added the type: feature code contributing to the implementation of a feature and/or user facing functionality label Mar 1, 2021
`
}

return `${CONTENT_COMMENT}if [ -f '${incFilePath}' ]; then source '${incFilePath}'; fi
Copy link
Contributor

@ehmicky ehmicky Mar 1, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe test -f ... && source might be sh-compatible? If so, we could use the same string for both shells.

This would also be more future-proof, since most Unix shells are sh-compatible.

Copy link
Contributor

@ehmicky ehmicky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

This was referenced Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature code contributing to the implementation of a feature and/or user facing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants