Commit Graph

  • 5abe0aaf41 Accepting request 1325937 from shells factory Ana Guerrero 2026-01-08 14:31:32 +00:00
  • 03d83bcb2a - Update to version 0.22.0: - ⚠ BREAKING CHANGES - Remove aliases ipynb, scp-resume from builtin aliases and rename xonsh-reset to xreset ([#5992](https://github.com/xonsh/xonsh/issues/5992)) - Features - added xpython and xсontext builtin aliases ([#5989](https://github.com/xonsh/xonsh/issues/5989)) ([4382735](43827358d2)) - **events:** added events.handlers() to get info about registered event handlers and also events.__repr__ to just print(events). ([#5994](https://github.com/xonsh/xonsh/issues/5994)) ([166a1a6](166a1a6a82)) - Bug Fixes - allow spaces in auto-suggest completions ([#5993](https://github.com/xonsh/xonsh/issues/5993)) ([4332701](4332701179)) - docs publish ([#5985](https://github.com/xonsh/xonsh/issues/5985)) ([e666ea9](e666ea9674)) - **history:** Using absolute path to history file to prevent downstream issues ([#6002](https://github.com/xonsh/xonsh/issues/6002)) ([f1501b2](f1501b257c)) - Documentation - add description and examples for @.env.register ([#5990](https://github.com/xonsh/xonsh/issues/5990)) ([9ce5d5d](9ce5d5d3d5)) - Update tutorial to replace prompt ([#6007](https://github.com/xonsh/xonsh/issues/6007)) ([3260b77](3260b77ab4)) - Update xonsh logo in the docs ([#6004](https://github.com/xonsh/xonsh/issues/6004)) ([dbeb276](dbeb27688b)) - Code Refactoring - Remove aliases ipynb, scp-resume from builtin aliases and rename xonsh-reset to xreset ([#5992](https://github.com/xonsh/xonsh/issues/5992)) ([df3ff49](df3ff497e9)) - Update to version 0.21.2: - Bug Fixes - appimage upload to release ([#5982](https://github.com/xonsh/xonsh/issues/5982)) ([7965b1f](7965b1ffef)) - Update to version 0.21.1: - Bug Fixes - conditional checks for docs deployment ([#5980](https://github.com/xonsh/xonsh/issues/5980)) ([addaffe](addaffe986)) - Update to version 0.21.0: - ⚠ BREAKING CHANGES - $AUTO_SUGGEST is now deprecated in favour of $XONSH_PROMPT_AUTO_SUGGEST - Features - Added @ as a global object that provides easy access to @.env, @. lastcmd and @.imp(inline-imports) ([#5956](https://github.com/xonsh/xonsh/issues/5956)) ([64e3a3c](64e3a3c467)) - added support for multiline shebang (guix fixed) ([#5957](https://github.com/xonsh/xonsh/issues/5957)) ([e9e0055](e9e0055c6c)) - added support for using a p-string as a context manager to temporarily change the working directory (e.g., with p'~/test'.mkdir().cd(): $[pwd]) ([d9a14c1](d9a14c1f8c)) - allow on_command_not_found handlers to return replacement commands ([#5952](https://github.com/xonsh/xonsh/issues/5952)) ([#5962](https://github.com/xonsh/xonsh/issues/5962)) ([14d9686](14d9686b3f)) Sebastian Wagner 2026-01-01 10:21:49 +00:00
  • a164242f77 Accepting request 1289714 from shells Ana Guerrero 2025-07-02 10:12:51 +00:00
  • 21f9b903e3 - Use pyproject macros to build and install. Sebastian Wagner 2025-06-25 04:54:47 +00:00
  • 5b46d76ca8 - Update to version 0.19.8: * Bug Fixes * ci update * pypi wheel checking * update publish - Update to version 0.19.6: * Bug Fixes * upload releases to PyPI - Update to version 0.19.5: * Features * #5745 - send Ctrl+C event on Windows instead of forceful terminate * completion: Accept single completion in VI MODE using Ctrl+] * New experimental Rust based parser for xonsh * Bug Fixes * don't skip history items when running full history pull after session-specific pull * Performance Improvements * Disable double check is_file on Windows systems to speedup IO * Documentation * Add missing bash conversion example Sebastian Wagner 2025-06-24 19:43:50 +00:00
  • 679db11424 Accepting request 1273978 from shells Dominique Leuenberger 2025-05-02 13:01:12 +00:00
  • 3d3a8e0c7d - update to 0.19.4: * Updated bash_completion.py from archived xonsh/py-bash- completion repo * Using trace on with .xsh scripts could previously lead to a spurious ignored exception showing up on stderr. This is now fixed. * bash_completion: Fixed empty line in completion result (https://github.com/xonsh/py-bash-completion/pull/21). * pipelines: fixed 'NoneType' object has no attribute 'pid' exception (#5794). * The history delete action on the sqlite backend used to pass matched history lines to a SQL statement without sanitization. This could lead to unexpected SQL being run on the history database. This is now fixed. Security risk: low. Sebastian Wagner 2025-05-02 09:35:37 +00:00
  • 9837b363b3 Accepting request 1248204 from shells Dominique Leuenberger 2025-02-25 15:47:24 +00:00
  • 114f9ff15e - fix use python3-base during build * full python3 is needed only during runtime. Sebastian Wagner 2025-02-24 15:47:24 +00:00
  • 3378a12588 explanation no base Sebastian Wagner 2025-02-17 14:50:33 +00:00
  • 1cbdff03b9 Accepting request 1246434 from home:Lioli7k:branches:shells Sebastian Wagner 2025-02-17 14:49:00 +00:00
  • ea7c9ffe45 Accepting request 1171362 from shells leap-16.1 leap-16.0 Ana Guerrero 2024-05-02 21:48:20 +00:00
  • cf1786bb37 Accepting request 1170597 from home:dirkmueller:Factory Sebastian Wagner 2024-05-02 13:06:33 +00:00
  • 26e4eb74a0 Accepting request 1159868 from shells Dominique Leuenberger 2024-03-20 20:18:44 +00:00
  • 9c34b4988b Accepting request 1158714 from home:dirkmueller:Factory Sebastian Wagner 2024-03-20 14:43:46 +00:00
  • 85c6ce6887 Accepting request 1143044 from shells Ana Guerrero 2024-01-31 22:55:33 +00:00
  • b4fa93caf4 Accepting request 1142071 from home:dirkmueller:Factory Sebastian Wagner 2024-01-31 14:18:56 +00:00
  • 9cb26dd0b7 Accepting request 1121194 from shells Ana Guerrero 2023-10-30 21:11:25 +00:00
  • e1d695f7a6 Accepting request 1119077 from home:dirkmueller:Factory Sebastian Wagner 2023-10-30 14:04:14 +00:00
  • 1465aae0f2 Accepting request 1095491 from shells Dominique Leuenberger 2023-06-27 21:16:37 +00:00
  • 9bd1a327b5 Accepting request 1095482 from home:dirkmueller:Factory Sebastian Wagner 2023-06-26 20:35:31 +00:00
  • 15e348151b Accepting request 1043441 from shells Dominique Leuenberger 2022-12-17 19:36:39 +00:00
  • 36da3405b6 - update to version 0.13.4: - Added: - tests for methods changed in tools.py (is_tok_color_dict) - `$XDG_CACHE_HOME, $XONSH_CACHE_DIR are now available inside Xonsh - #2455 Add on_command_not_found event, fired when a command is not found. - Changed: - is_str_str_dict changed to check for Token:style dict - Removed: - $COMMANDS_CACHE_SIZE_WARNING is removed. When $COMMANDS_CACHE_SAVE_INTERMEDIATE is enabled, the cache file size is optimized. - Fixed: - #4668 Fix ptk completion stacking when auto-suggest is on and no normal completions are generated. - $XONSH_STYLE_OVERRIDES cannot be assigned dict of {Token: str} #4375 - commands_cache: add a configurable value to disable cache. useful for running scripts - fixed stale results when $COMMANDS_CACHE_SAVE_INTERMEDIATE is enabled. - #4951 Fix gitstatus prompt when rebasing - fixed using aliases to override commands without the file extension on Windows - #3279 Add 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. Sebastian Wagner 2022-12-10 09:06:46 +00:00
  • 1861528b22 Accepting request 1040647 from home:dirkmueller:Factory Sebastian Wagner 2022-12-10 08:54:37 +00:00
  • c267cf9a0d Accepting request 1000346 from shells Dominique Leuenberger 2022-08-31 16:08:56 +00:00
  • d74c589640 - update to version 0.13.1: - Added: - The ujson (faster version of json) added to xonsh[full] package. - Changed: - Bumped Python version in xonsh.AppImage to 3.10 - The terminal's title is updated with the current command's name even if the command is a captured command or a callable alias - Fixed: - Warn and continue if a user without `pygments tries to load an unknown style - Fixed a bash completion bug when prefixing a file path with '<' or '>' (for redirecting stdin/stdout/stderr) - Fixed a bash completion bug when completing a git branch name when deleting a remote branch (e.g. git push origin :dev-branch) - A callable alias containing subprocess commands no longer freezes when piped to another command - less no longer stops when a callable alias containing subprocess commands is piped into it - gitstatus Prompt-field would be empty on paths without git setup. - When using the sway window manager, swaymsg -t get_inputs no longer fails with the error "Unable to receive IPC response" - The current_job variable now works as expected when used in $TITLE - Security: - xpip will never add sudo under any circumstances and will instead append --user as needed - update to version 0.13.0: - Removed: - The xonsh code-base is no longer amalgamated, so tracebacks should be human-readable without intervention. This may have (minor) impacts on startup speed. - Fixed: - Fix xontrib loading for free_cwd - Fixed whole_word_jumping xontrib failing on Linux, conditional import of ptk_win32` → Windows only - Fixed error caused by unintialized Xonsh session env when using Xonsh as a library just for its Pygments lexer plugin. - update to version 0.12.6: - Fixed: - String literal concatenation now works with f-strings and path literals - A SyntaxError is raised when string literal concatenation is attempted with literals of different types (e.g. str and bytes) Sebastian Wagner 2022-08-23 19:11:54 +00:00
  • 0673831aa7 OBS-URL: https://build.opensuse.org/package/show/shells/xonsh?expand=0&rev=14 Dominique Leuenberger 2022-05-31 05:41:36 +00:00
  • 800a95bff5 fix invalid changelog Dominique Leuenberger 2022-05-31 05:39:53 +00:00
  • babde55041 Accepting request 979650 from shells Dominique Leuenberger 2022-05-30 10:43:37 +00:00
  • a7a17b7070 minor changelog fix Sebastian Wagner 2022-05-22 10:39:02 +00:00
  • 44e26908b7 - update to version 0.12.4: - update to version 0.12.3: - Changed: - fix: remove os.path.basename from _get_git_branch() - now 3rd party xontrib list is maintained at Awesome Xontribs <https://github.com/xonsh/awesome-xontribs/>_ page. Going forward, new contributions will be updated here, making it not depending on the xonsh release <https://github.com/xonsh/xonsh/issues/4679>_. - Removed: - Removed Python 3.7 support following NEP0029 <https://numpy.org/neps/nep-0029-deprecation_policy.html>_ - Fixed: - Dictionaries are now pretty-printed with their items in the correct order Sebastian Wagner 2022-05-22 10:36:48 +00:00
  • 146a0c1383 RelMgr: drop invalid ascii from changelog Dominique Leuenberger 2022-05-12 05:59:07 +00:00
  • ac4841f0a7 Accepting request 975945 from shells Dominique Leuenberger 2022-05-10 13:12:01 +00:00
  • 9bcda2d54a - update to version 0.12.2: - Fixed completions for command argument paths after equal signs - A trailing space no longer gets appended when tab-completing command arguments that involve equals signs. For example dd sta gets completed to dd status=, without a space space after the equals sign. - regression on gitstatus <https://github.com/xonsh/xonsh/pull/4771>_ prompt is fixed now. It will display the value now instead of the name. - fixed <https://github.com/xonsh/xonsh/pull/4763>_ `vox rm` crashing when user input is required Sebastian Wagner 2022-05-02 19:35:42 +00:00
  • fa8b21f340 - removed obsolete fix-4550.patch - update to version 0.12.1: - Fixed: - fixed regression issue in loading xontrib-abbrevs <https://github.com/xonsh/xonsh/pull/4757>_ - Allow xonsh to start gracefully even if modal cursors aren't in the available prompt_toolkit version - update to version 0.12.0: - Added: - Added interface to complete any alias that has `xonsh_complete attribute. It is a function with fn(**kwargs) -> Iterator[RichCompletion | str] signature. - added $ALIAS_COMPLETIONS_OPTIONS_LONGEST to control showing options in completions - added $CMD_COMPLETIONS_SHOW_DESC environment variable to control showing command completions with a description part. - completer complete command is added to test current completions - completions from man page will now show the description for the options if available. - $XONSH_COMPLETER_DIRS to put command completers - Aliases.register to register an alias function. - Tracebacks are now printed in color if available (interactive session with shell that supports colors with pygments installed and $COLOR_RESULTS enabled) - Added python's match statement for python >=3.10. - Added support for the $SHLVL environment variable, typed as int, using bash's semantics. - Python files with command completions can be put inside xompletions namespace package, they will get loaded lazily. - xontrib.fish_completer is available to complete using fish shell. - Support for pythons sys.last_type, sys.last_value, sys.last_traceback. - added xonsh-uname command to xoreutils - auto-completion support for commands : source-foreign, source-bash, source-zsh, source-cmd - added history transfer command to transfer history entries between backends. - now $PROMPT_FIELDS is a custom class with method pick(field_name) to get the field value efficiently. The results are cached within the same prompt call. - new class xonsh.prompt.base.PromptField` to ease creating/extending prompt-fields - **Sublime Text 4** extension to the Editors page. Sebastian Wagner 2022-04-19 14:27:39 +00:00
  • 973a307d3d Accepting request 950674 from shells Dominique Leuenberger 2022-02-02 21:41:45 +00:00
  • f57e25ec1f Accepting request 950673 from home:bmwiedemann:branches:shells Sebastian Wagner 2022-02-02 08:06:59 +00:00
  • 41a5c1a8a3 Accepting request 934620 from shells Dominique Leuenberger 2021-11-30 22:16:00 +00:00
  • e2c7632ae0 change patch source Sebastian Wagner 2021-11-22 17:16:14 +00:00
  • 4b2f2062df - add fix-4550.patch to fix doc build error and re-enable doc builds. Sebastian Wagner 2021-11-18 19:53:03 +00:00
  • 1450687b07 - update to version 0.11.0: - Added: - added new utility classes `xonsh.cli_utils.ArgParserAlias, xonsh.cli_utils.ArgCompleter. These are helper classes, that add coloring and auto-completion support to the alias-commands. - when $ENABLE_ASYNC_PROMPT=True lazy load prompt-toolkit's color-input support. - Add CTRL-Right key binding to complete a single auto-suggestion word. - Show environment variables' type and descriptions when completing them. - Add CTRL-Backspace key binding to delete a single word via $XONSH_CTRL_BKSPC_DELETION. - Improved pip/xpip completer. - Separator used by gitstatus can now be styled using XONSH_GITSTATUS_SEPARATOR. - Complete 'import' statements with modules that aren't loaded. - Complete multiple modules/objects in 'import' statements. - Multiple new metadata fields in setup.py - Pure Python control files are now supported when named *.py. Using python files may lower the startup time by a bit. - new environment variable $XONSH_TRACE_SUBPROC_FUNC to handle $XONSH_TRACE_SUBPROC output - Added xontrib-pyrtn <https://github.com/dyuri/xontrib-pyrtn> to xontrib list. - Changed: - Display error message when running xonfig colors in a non-interactive shell - Using ArgparserAlias for dirs, popd, pushd - use ArgparserAlias for disown alias with completion support - history alias now has colored help message and completion support when running interactively. - using ArgparserAlias for trace alias with completion support - improve vox CLI completions - use ArgparserAlias for xexec. Now it supports completions. - xonfig now has colored help message when ran interactively. - Using ArgparserAlias to improve xontrib` completions - Changed !() to also capture background subprocesses - Suggested commands are cached for better performance. Sebastian Wagner 2021-11-18 11:10:02 +00:00
  • c8b60ee691 Accepting request 909983 from shells Dominique Leuenberger 2021-08-03 20:49:03 +00:00
  • 6a3b56b5b3 fix specfile: examples have been removed Sebastian Wagner 2021-07-27 11:00:49 +00:00
  • 65611ea8b5 - update to version 0.10.1: - Fixed: - `execx and xonsh -c previously exposed xonsh-internal code in global scope. They also did not support defining variables and then referring to them in comprehensions, generators, functions, or lambdas. - https://github.com/xonsh/xonsh/issues/4363 - Short color token names can be used in register_custom_style() (#4339) - update to version 0.10.0: - Added: - Added ability to set XONSH_HISTORY_FILE before loading the history backend. - Added ability to get the arguments list in ExecAlias using $args and $arg<n> environment variables. - Added instruction how to run xonsh AppImage on Alpine - Xonsh now supports generators as completer functions. - Completion Context - Allow completers to access a parsed representation of the current commandline context. - Added casting CommandPipeline to int, hash and str. - Ability to call the tool by the name from callable alias with the same name without the infinite loop error. - on wsl field when running xonfig (when linux is detected) - Help and superhelp (obj? and obj??) now use the __name__ if available. - added $XONSH_GITSTATUS_FIELDS_TO_HIDE to hide unwanted fields from {gitstatus} prompt field. - Added number of lines added and removed to gitstatus - Saving current working directory (cwd) to the history. - Added XONSH_HISTORY_SAVE_CWD environment variable. - Added environment variable $COMPLETE_DOTS to specify how current and previous directories should be tab completed in cd ('./', '../'): - always Always complete paths with ./ and ../ - never Never complete paths with ./ and ../ - matching Complete if path starts with . or .. - Complete import keyword in from ... import statements. - Enabled case-insensitive completions for the jedi xontrib. - Non-exclusive completers that enable aggregating multiple completer results. - New $XONSH_CAPTURE_ALWAYS variable for opt-in interactive capturing. Since this capturing breaks background jobs and some interactive programs (like git` invoking an editor), This behavior is now opt-in using this variable. See https://github.com/xonsh/xonsh/pull/4283 and linked issues. Sebastian Wagner 2021-07-27 10:39:59 +00:00
  • 090cf1d0a2 Accepting request 879288 from shells Dominique Leuenberger 2021-03-18 21:54:30 +00:00
  • 5dcded256d Accepting request 846959 from devel:languages:python Dominique Leuenberger 2020-11-08 19:59:33 +00:00
  • 5bf149957e Accepting request 842364 from devel:languages:python Dominique Leuenberger 2020-10-18 14:36:40 +00:00
  • c73aa32322 Accepting request 838684 from devel:languages:python Dominique Leuenberger 2020-09-30 17:54:26 +00:00
  • 8f13000ad9 Accepting request 833392 from devel:languages:python Dominique Leuenberger 2020-09-10 20:52:54 +00:00
  • 0884fe0c63 Accepting request 805663 from devel:languages:python Dominique Leuenberger 2020-05-16 20:26:38 +00:00
  • 29901c7b22 Accepting request 791562 from devel:languages:python Dominique Leuenberger 2020-04-07 08:28:37 +00:00
  • 62b320f154 Accepting request 782247 from devel:languages:python Dominique Leuenberger 2020-03-07 20:41:21 +00:00
  • fbd42f18cb Accepting request 722839 from devel:languages:python Dominique Leuenberger 2019-08-13 11:27:03 +00:00
  • af83f043bf Accepting request 720288 from devel:languages:python Dominique Leuenberger 2019-08-05 08:38:33 +00:00
  • b18d60abc5 Accepting request 715542 from devel:languages:python Dominique Leuenberger 2019-07-18 13:20:03 +00:00
  • 56dfa8f5df Accepting request 713860 from devel:languages:python Dominique Leuenberger 2019-07-08 13:11:56 +00:00
  • 1eee5153fb Accepting request 709544 from devel:languages:python Dominique Leuenberger 2019-06-13 21:03:21 +00:00
  • ace45a51d2 Accepting request 687599 from devel:languages:python Dominique Leuenberger 2019-04-05 09:56:53 +00:00
  • a4da3639fa Accepting request 679043 from devel:languages:python Dominique Leuenberger 2019-02-26 21:20:34 +00:00
  • df2ffab146 Accepting request 667871 from devel:languages:python Dominique Leuenberger 2019-01-24 13:14:21 +00:00
  • 5c28935482 Accepting request 653698 from devel:languages:python Dominique Leuenberger 2018-12-14 19:53:46 +00:00
  • 0ebc2c8afa Accepting request 646484 from devel:languages:python Dominique Leuenberger 2018-11-08 08:48:30 +00:00
  • 877a2695b9 Accepting request 637174 from devel:languages:python Dominique Leuenberger 2018-09-24 11:13:30 +00:00
  • 1b1ce85f69 Accepting request 631175 from devel:languages:python Dominique Leuenberger 2018-08-24 15:12:03 +00:00
  • 57690426a1 Accepting request 622801 from devel:languages:python Dominique Leuenberger 2018-07-18 20:54:37 +00:00
  • 935aa7cb14 Accepting request 617152 from devel:languages:python Dominique Leuenberger 2018-06-29 20:27:06 +00:00
  • 316b4f0f5f Accepting request 611051 from devel:languages:python Dominique Leuenberger 2018-05-29 08:38:01 +00:00
  • c9eaf32483 Accepting request 606300 from devel:languages:python Dominique Leuenberger 2018-05-11 07:19:08 +00:00
  • cacc74cd3e Accepting request 603097 from devel:languages:python Dominique Leuenberger 2018-05-08 11:36:40 +00:00
  • edd36b9a2d Accepting request 557311 from devel:languages:python Dominique Leuenberger 2018-01-13 20:44:19 +00:00
  • 62c34408cd Accepting request 512645 from devel:languages:python Yuchen Lin 2017-08-01 07:25:02 +00:00