Xontrib: Allow using cocounut in rc files and @(...) syntax
Open
tooling
- Dominant language
- Python
- Stars
- 4.4k
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Description
I don't know if this would be possible but it would be really great if we could use coconut code in xonsh rc files, python-mode syntax within subprocess mode, and functions.
Example: `rg -n "TODO" @( Path(".").rglob("*.py") |> filter$(p => not p.match("tests/**")) |> filter$(p => p.stat().st_mtime > time.time() - 86400) |> map$(.as_posix()) |> list`
Contributor guide
Assessment
This issue has not been assessed yet.