0.22.2 (2026-02-03)
Features
- prompt: Added $XONSH_PROMPT_NEXT_CMD_SUGGESTION to set the text of the next command suggestion (#6048) (8c8372e), @anki-code
- environ: Ability to run xonsh from existing xonsh session but with origin environment using
xonsh --save-origin-envandxonsh --load-origin-env(#6076) (f748bd2), @wajdiJomaa - events: Now
on_envvar_changeevent is working for EnvPath variables e.g. PATH. (#6055) (37bb23a), @anki-code - builtin: Added
@.historyas a shortcut to__xonsh__.history(#6056) (809f5cf), @anki-code - environ: Added shortcut
xonsh -DVARto inheritVARas alternative toxonsh -DVAR=$VAR(#6080) (4c2dc8b), @anki-code - xcontext: Report current xonsh session executable in
xcontext(#6071) (db2b2c3), @anki-code
Bug Fixes
- procs: Fix ioctl windowsize buffer size to reduce issues in the future python 3.14 (#6061) (03c2c3d). @lambda-abstraction
- startup: Fix crash on built-in readline, print compatibility message on uv pythons (#6069) (1e29ee2), @Phaiax
- Fixed
xcontexterror in casexpiphas complex command (#6063) (14333a6), @anki-code - prevent stripping r except leading ones of r-strings (#6030) (8bf34d7), @inmaldrerah
- Raise an error in case of redirect without command (#6060) (ba79df1), @wajdiJomaa
- Revert "Fix for completer issue with file name containing backslash" because of a regress (#6052) (1bfcba6), @anki-code
- mamba-installer: Rename xmamba to xmamba.xsh (#6059) (82b9210), @anki-code
- docs: Update ErrorString import handling in cmdhelp.py (#6054) (4d8d504), @anki-code