mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 00:14:41 +01:00
![]() ### Motivation Closes #5512. The issue was introduced in #4445. It's needed to add checking the redirect case. ### Before ```xsh cd /tmp @aliases.register('a') def _a(): print("1-hello") echo 2-hello a > o.txt # 2-hello cat o.txt # 1-hello ``` ### After ```xsh cd /tmp @aliases.register('a') def _a(): print("1-hello") echo 2-hello a > o.txt cat o.txt # 1-hello # 2-hello ``` ## For community ⬇️ **Please click the 👍 reaction instead of leaving a `+1` or 👍 comment** --------- Co-authored-by: a <1@1.1> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> |
||
---|---|---|
.. | ||
callias_capture_redirect.rst | ||
commands_cache_fix_update.rst | ||
disable_colors_non_int.rst | ||
opt_sqlite.rst | ||
prompt_switch_to_ptk.rst | ||
sqlite-history-gc.rst | ||
TEMPLATE.rst | ||
xonsh_refactoring.rst |