xonsh v0.3.1 Release Notes

  • โž• Added:

    • ๐Ÿšฆ When a subprocess exits with a signal (e.g. SIGSEGV), a message is printed, similar to Bash.
    • โž• Added comma literals to subproc mode.
    • @$(cmd) has been added as a subprocess-mode operator, which replaces in the subprocess command itself with the result of running cmd.
    • ๐Ÿ†• New showcmd alias for displaying how xonsh interprets subprocess mode commands and arguments.
    • Added $DYNAMIC_CWD_WIDTH to allow the adjusting of the current working directory width in the prompt.
    • โž• Added $XONSH_DEBUG environment variable to help with debugging.
    • The ${...} shortcut for __xonsh_env__ now returns appropriate completion options

    ๐Ÿ”„ Changed:

    • ๐Ÿ On Windows the default bash completions files $BASH_COMPLETIONS now points to the default location of the completions files used by 'Git for Windows'
    • On Cygwin, some tweaks are applied to foreign shell subprocess calls and the readline import, in order to avoid hangs on launch.

    โœ‚ Removed:

    • Special cased code for handling version of prompt_toolkit < v1.0.0

    ๐Ÿ›  Fixed:

    • ๐Ÿ‘‰ Show sorted bash completions suggestions.
    • ๐Ÿ›  Fix bash completions (e.g git etc.) on windows when completions files have spaces in their path names
    • ๐Ÿ›  Fixed a bug preventing source-bash from working on Windows
    • ๐Ÿ‘ท Numerous improvements to job control via a nearly-complete rewrite.
    • โž• Addressed issue with finding the next break in subproc mode in context sensitive parsing.
    • ๐Ÿ›  Fixed issue with loading readline init files (inputrc) that seems to be triggered by libedit.
    • $MULTILINE_PROMPT now allows colors, as originally intended.
    • Rectified install issue with Jupyter hook when installing with pyenv, Jupyter install hook now respects --prefix argument.
    • ๐Ÿ›  Fixed issue with the xonsh.ply subpackage not being installed.
    • ๐Ÿ›  Fixed a parsing bug whereby a trailing & on a line was being ignored (processes were unable to be started in the background)