Going forward, new contributions will be updated here, making it not depending on the xonsh release. Now 3rd party xontrib list is maintained at Awesome Xontribs page. Silence spurious errors on exit due to out-of-order cleanupįix: remove os.path.basename from _get_git_branch() On prompt-toolkit, when there is a job like sleep 500 & running in the background, pressing Ctrl+D twice to force quit now works properlyĮnvironment Variables are now completed correctly when in quotes This allows the nohup command to work properly.īg now properly resumes jobs in the backgroundĮxecAlias now sets the returncode of a command correctlyĮmpty/comment-only commands no longer get added to the history SIGHUP (instead of SIGKILL) is sent to unfinished jobs when exiting the shell. Using fg for commands started in the background (e.g. Please use the new prompt fields last_return_code, last_return_code_if_nonzero from Now the default prompt already shows the last-return-code when the previous command fails. The default prompt (on unix-systems) now includes a red field in case a command failed.Ĭompletions from fish are now filter based on the current prefix. Variable can be set to False to avoid binding control+backspace in The XONSH_WHOLE_WORD_CTRL_BKSP environment !)Įxtended whole_word_jumping xontrib with matching bindings forĭelete and backspace. ! now returns a HiddenCommandPipeline when run with a background command (e.g. New prompt-customization fields: ‘last_return_code_if_nonzero’, ‘last_return_code’.ĭocumented the HISTCONTROL ignorespace option _unload_xontrib_(xsh: XonshSession, **kwargs) -> None defined in their module.Īdded a special ‘$LAST_RETURN_CODE’ environment variable to access the return code of the last issued command. With functions _load_xontrib_(xsh: XonshSession, **kwargs) -> dict, Now xontribs support loading and unloading $XONSH_STYLE_OVERRIDES cannot be assigned dict of *`) #4668 Fix ptk completion stacking when auto-suggest is on and no normal completions are generated. When $COMMANDS_CACHE_SAVE_INTERMEDIATE is enabled, Is_str_str_dict changed to check for Token:style dict #2455 Add on_command_not_found event, fired when a command is not found. $XDG_CACHE_HOME, $XONSH_CACHE_DIR are now available inside Xonsh Tests for methods changed in tools.py (is_tok_color_dict) Improve the error message when $RAISE_SUBPROC_ERROR is set to True.įixed xontrib-jupyter to work in JupyterLab and terminal-based Euporie environment. Suppress subprocess traceback on exception in case $XONSH_SHOW_TRACEBACK=False with $RAISE_SUBPROC_ERROR=True. Update load_xontrib pytest fixture to handle auto-loaded xontribs Pdb, xog xontribs transferred to xontrib-debug-tools.įixed missing webconfig/js/xonsh_sticker.svg in xonfig web. Vox, autovox, voxapi xontribs transferred to xontrib-vox. Whole_word_jumping xontrib transferred to xontrib-whole-word-jumping.įish_completer xontrib transferred to xontrib-fish-completer. The prompt end character switched to command not found error will show the repr(cmd) to uncover the cases when the command name has \n, \t or not visible color codes and raises the error.Ībbrevs xontrib transferred to xontrib-abbrevs.īashisms xontrib transferred to xontrib-bashisms.įree_cwd xontrib transferred to xontrib-free-cwd. This allows to use with chdir("dir"): to run commands block in the certain directory without manually cd-ing.ĭisplay the current branch of Fossil VCS checkouts in the prompt,Īdded link to xonsh on Mastodon - load: added option -s to skip warning about not installed xontribs.Īltered documentation for xonshrc to remove Python REPL prompts so that you can copy the code without having to edit it. Wheels for Python 3.11 are part of the automated release actionĪdded chdir to xonsh.tools. Key_bindings: map escape-f as another word completer for macOSĪdded history pull command to SQLite history backend to pull the history from parallel sessions and add to the current session.Īdd support for Semantic Prompt for line continuations in multiline prompts via two environment variables: $MULTILINE_PROMPT_PRE (e.g., \x01\x1b]133 P k=c\x07\x02), and $MULTILINE_PROMPT_POS (e.g., \x01\x1b]133 B\x07\x02) that are inserted before/after each continuation line ‘dots’ block to mark input Toggle table of contents sidebar Xonsh Change Log # v0.14.0 #
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |