Added:
- New
xonsh-cat
command line utility, which is a xonsh replacement
for the standard UNIXcat
command. - The new
xonsh.xoreutils.cat.cat_main()
enables thexonsh.xoreutils.cat
module to be run as a command line utility. - New
CommandsCache.is_only_functional_alias()
and
CommandsCache.lazy_is_only_functional_alias()
methods for determining if
if a command name is only implemented as a function, and thus has no
underlying binary command to execute. xonsh.xontribs.xontribs_load()
is a new first-class API for loading
xontribs via a Python function.$COMPLETIONS_DISPLAY
now supports readline-like behavior on
prompt-toolkit v2.
Changed:
- The xonsh Jupyter kernel now will properly redirect the output of commands
such asgit log
,man
,less
and other paged commands to the client.
This is done by setting$PAGER = 'cat'
. Ifcat
is not available
on the system,xonsh-cat
is used instead. - The
setup()
function for starting up a working xonsh hasaliases
,
xontribs
, andthreadable_predictors
as new additional keyword
arguments for customizing the loading of xonsh.
Fixed:
- Fixed a bug with converting new PTK2 colors names to old names when using PTK1 or Jupyter
as the shell type.
CommandsCache.locate_binary()
will now properly return None when
ignore_alias=False
and the command is only a functional alias,
such as withcd
. Previously, it would return the name of the
command.- Fixed issue with
$COMPLETIONS_DISPLAY
raising an error on
prompt-toolkit v2 when the value was not set tomulti
. - ValueError when executing
vox list