anki-code / xontrib-sh

Paste and run commands from bash, zsh, fish, tcsh in xonsh shell.
MIT License
55 stars 5 forks source link

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

Closed seekinginfiniteloop closed 6 months ago

seekinginfiniteloop commented 6 months ago

Encountered an issue where:

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 commented 6 months ago

Thanks!