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

Fixed issue where xonsh returns string representation of shell list #10

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

seekinginfiniteloop
Copy link
Contributor

Encountered an issue where:

  • __xonsh__ returned XONTRIB_SH_SHELLS as a string representation of the shell list.
  • Issue persisted with or without defining XONTRIB_SH_SHELLS in .xonshrc (i.e. the .get() method returned ['bash', 'sh'] as "['bash', 'sh']")

Could just be something wonky in my environment, or a change/update/bug with xonsh, but this seemed like an easy fix. Another approach could be to check membership for 'bash', 'sh', etc, which should work for a string, list, etc

@anki-code anki-code merged commit 23f7e2b into anki-code:main Apr 15, 2024
@anki-code anki-code added this to the 0.3.1 milestone Apr 15, 2024
@anki-code
Copy link
Owner

Thanks!

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

2 participants