Skip to content

Commit

Permalink
Merge pull request #2840 from anki-code/master
Browse files Browse the repository at this point in the history
Added xonsh shell support
  • Loading branch information
sharkdp authored Feb 23, 2024
2 parents 708c74f + b718889 commit 85a549e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

- `cmd-help`: scope subcommands followed by other terms, and other misc improvements, see #2819 (@victor-gp)
- Upgrade JQ syntax, see #2820 (@dependabot[bot])
- Associate `xsh` files with `xonsh` syntax that is Python, see #2840 (@anki-code).
- Added auto detect syntax for `.jsonc` #2795 (@mxaddict)
- Added auto detect syntax for `.aws/{config,credentials}` #2795 (@mxaddict)

Expand Down
3 changes: 3 additions & 0 deletions src/syntax_mapping/builtins/common/xonsh.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Xonsh shell (https://xon.sh/)
[mappings]
"Python" = ["*.xsh", "*.xonshrc"]

0 comments on commit 85a549e

Please sign in to comment.