:shell: Python-powered, cross-platform, Unix-gazing shell.
Fixed:
Authors:
Full Changelog: https://github.com/xonsh/xonsh/compare/0.14.4...0.15.0
Full Changelog: https://github.com/xonsh/xonsh/compare/0.14.3...0.14.4
Added:
on_pre_spec_run
event.on_post_spec_run
event.Fixed:
xonsh
now adds the user site packages directory to sys.path
where
required for proper xontrib
discoveryAuthors:
Fixed:
sudo
(#5220)cd
with no arguments will always return to $HOME
Authors:
Added:
history delete
command to both the JSON and SQLite history backends allowing users to delete commands from history that matches a pattern.Changed:
$MULTILINE_PROMPT_PRE
and $MULTILINE_PROMPT_POS
) to allow differentiating between user setting an empty value and not setting anythingFixed:
BASH_COMPLETIONS_DEFAULT
on M1Authors:
Added:
escape-f
as another word completer for macOShistory pull
command to SQLite history backend to pull the history from parallel sessions and add to the current session.Semantic Prompt <https://gitlab.freedesktop.org/Per_Bothner/specifications/blob/master/proposals/semantic-prompts.md>
_ 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 inputchdir
to xonsh.tools
. This allows to use with chdir("dir"):
to run commands block in the certain directory without manually cd-ing.-s
to skip warning about not installed xontribs.Changed:
@
.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.abbrevs
xontrib transferred to xontrib-abbrevs <https://github.com/xonsh/xontrib-abbrevs>
_.bashisms
xontrib transferred to xontrib-bashisms <https://github.com/xonsh/xontrib-bashisms>
_.free_cwd
xontrib transferred to xontrib-free-cwd <https://github.com/xonsh/xontrib-free-cwd>
_.whole_word_jumping
xontrib transferred to xontrib-whole-word-jumping <https://github.com/xonsh/xontrib-whole-word-jumping>
_.fish_completer
xontrib transferred to xontrib-fish-completer <https://github.com/xonsh/xontrib-fish-completer>
_.vox
, autovox
, voxapi
xontribs transferred to xontrib-vox <https://github.com/xonsh/xontrib-vox>
_.pdb
, xog
xontribs transferred to xontrib-debug-tools <https://github.com/xonsh/xontrib-debug-tools>
_.Fixed:
webconfig/js/xonsh_sticker.svg
in xonfig web
.$XONSH_SHOW_TRACEBACK=False
with $RAISE_SUBPROC_ERROR=True
.$RAISE_SUBPROC_ERROR
is set to True.Euporie <https://github.com/joouha/euporie>
_ environment.Authors:
Added:
$XDG_CACHE_HOME
, $XONSH_CACHE_DIR
are now available inside Xonsh
on_command_not_found
event, fired when a command is not found.XONSH_HISTORY_IGNORE_REGEX
support. You can specify a regular
expression in the environment variable XONSH_HISTORY_IGNORE_REGEX
and any
command that matches the expression will not be added to the history.Changed:
Removed:
$COMMANDS_CACHE_SIZE_WARNING
is removed. When $COMMANDS_CACHE_SAVE_INTERMEDIATE
is enabled,
the cache file size is optimized.Fixed:
$COMMANDS_CACHE_SAVE_INTERMEDIATE
is enabled.Authors:
Fixed:
pygments
startup crash when incorrect prepending bg:
to noinherit
style directivesAuthors:
Changed:
gitstatus
prompt fields are now None
.$THREAD_SUBPROCS=False
: When a callable alias is executed with ![]
, its standard output and standard error are no longer captured. This is because a separate thread is required in order to both capture the output and stream it to the terminal while the alias is running.Fixed:
$PROMPT
format strings like {gitstatus: hello {}}
now work as expected.$THREAD_SUBPROCS=False
: When cd
is used with an invalid directory, the error message is now correctly displayed.Authors: