__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
Encountered an issue where:
__xonsh__
returnedXONTRIB_SH_SHELLS
as a string representation of the shell list.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