A general purpose, Python-ish shell
xonsh is a Python-ish, BASHwards-looking shell language and command prompt. The language is a superset of Python 3.4+ with additional shell primitives. xonsh (pronounced conch) is meant for the daily use of experts and novices alike.
- Developed at shells
- Sources inherited from project openSUSE:Factory
-
2
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:16.0:FactoryCandidates/xonsh && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
changelog.sh | 0000000215 215 Bytes | |
xonsh-0.8.11.tar.gz | 0002021105 1.93 MB | |
xonsh.changes | 0000046473 45.4 KB | |
xonsh.spec | 0000002842 2.78 KB |
Revision 14 (latest revision is 41)
Dominique Leuenberger (dimstar_suse)
accepted
request 687599
from
Tomáš Chvátal (scarabeus_iv)
(revision 14)
- update to version 0.8.11 - Added: - New ``xonsh.color_tools.short_to_ints()`` function for directly converting a short (0 - 256) color into a 3-tuple of ints represeting its RGB value. - New ``xonsh.ansi_colors.ansi_reverse_style()`` function for converting a mapping of color names to ANSI escape codes into a mapping from escape codes into color names. This is not a round-trippable operation. - New ``xonsh.ansi_colors.ansi_color_escape_code_to_name()`` function for converting an ANSI color escape code into the closest xonsh color name for a given style. - New ``xonsh.events.EventManager.exists()`` method enables the checking of whether events actually exist with out making the event if it doesn't exist. - New command-specific event categories called ``on_pre_spec_run_<cmd-name>`` and ``on_post_spec_run_<cmd-name>`` will be fired before and after ``SubpocSpec.run()`` is called. This allows for command specific events to be executed. For example, ``on_pre_spec_run_ls`` would be run prior to an invocation of ``ls``. - New ``xonsh.environ.LsColors`` class for managing the ``$LS_COLORS`` environment variable. This ensures that the ``ls`` command respects the ``$XONSH_COLOR_STYLE`` setting. An instance of this class is added to the environment when either the ``$LS_COLORS`` class is first accessed or the ``ls`` command is executed. - The ``on_pre_spec_run_ls`` event is initialized with a default handler that ensures that ``$LS_COLORS`` is set in the actual environment prior to running an ``ls`` command. - New ``xonsh.tools.detype()`` function that simply calls an objects own ``detype()`` method in order to detype it.
Comments 0