xonsh v0.2.6 Release Notes
-
โ Added:
- ๐จ
trace
alias added that enables users to turn on and off the printing of source code lines prior to their execution. This is useful for debugging scripts. - ๐ New ability to force callable alias functions to be run in the foreground, i.e.
the main thread from which the function was called. This is useful for debuggers
and profilers which may require such access. Use the
xonsh.proc.foreground
decorator on an alias function to flag it.ForegroundProcProxy
andSimpleForegroundProcProxy
classes have been added to support this feature. Normally, forcing a foreground alias is not needed. - Added boolean
$RAISE_SUBPROC_ERROR
environment variable. If true and a subprocess command exits with a non-zero return code, a CalledProcessError will be raised. This is useful in scripts that should fail at the first error. - ๐ฆ If the
setproctitle
package is installed, the process title will be set to'xonsh'
rather than the path to the Python interpreter. - ๐ zsh foreign shell interface now supported natively in xonsh, like with Bash.
New
source-zsh
alias allows easy access to zsh scripts and functions. - Vox virtual environment manager added.
๐ Changed:
- The
foreign_shell_data()
keyword argumentsenvcmd
andaliascmd
now default toNone
. - โก๏ธ Updated alias docs to pull in usage from the commands automatically.
๐ Fixed:
- Hundreds of bugs related to line and column numbers have been addressed.
- ๐ Fixed path completion not working for absolute paths or for expanded paths on Windows.
- ๐ Fixed issue with hg dirty branches and $PATH.
- ๐ Fixed issues related to foreign shell data in files with whitespace in the names.
- Worked around bug in ConEmu/cmder which prevented
get_git_branch()
from working in these terminal emulators on Windows.
- ๐จ