Peter Ye
d08006b0e0
Change !() to also capture background subprocesses ( #4406 )
...
* Change !() to also capture background subprocesses
* Add test
* Add news
* Simplify logic
2021-08-01 21:58:19 +03:00
Daniel Shimon
f5acbe30d4
Ctrl backspace delete word ( #4402 )
...
* ptk: key-bindings: Add CTRL-Backspace to delete a single word
* news: Add ctrl-backspace-delete-word
2021-08-01 00:38:31 +03:00
Daniel Shimon
5322aafc66
Complete environment description ( #4397 )
...
* completers: env: Add env var's description
* news: Add complete-environment-description
* completers: env: Use generator
* completers: env: Show var type in display
* tests: completers: env: Update tests
2021-08-01 00:37:54 +03:00
Gil Forsyth
5d6614e307
Fix WSL lazybools ( #4395 )
...
`lazybool`s that rely on other `lazybool`s need to explicitly call
`bool()` on those values or else a non-bool value gets returned when the
parent's `__bool__` method is called.
2021-07-31 16:14:53 +03:00
Noorhteen Raja NJ
5dafceef47
chore: upgrade black and mypy ( #4399 )
...
* chore: upgrade black and mypy
* chore: update black config
ignore generated files from ply
* chore: upgrade pre-commit plugins
2021-07-29 18:31:52 -04:00
Daniel Shimon
279d0ec638
Auto suggest word alias ( #4401 )
...
* ptk: key-bindings: Add CTRL-Right to auto-suggest a word
* news: Add auto-suggest-word-alias
2021-07-29 12:50:47 +03:00
Daniel Shimon
8dac83a9a0
Fix jedi path completion ( #4400 )
...
* xontrib: jedi: Don't complete paths with '~'
* tests: xontrib: jedi: Update tests
* news: Add fix-jedi-path-completion
2021-07-29 10:02:25 +03:00
Evgeny
6591346243
feat: add xontrib-homebrew ( #4389 )
...
replaces xontrib-linuxbrew by expanding OS support to Homebrew on macOS
2021-07-28 10:17:55 -04:00
Noorhteen Raja NJ
9ae302fb11
feat: use rst-linter for news items check ( #4398 )
2021-07-28 10:16:35 -04:00
Daniel Shimon
a72a9eb08e
Procs wsl1 check ( #4387 )
...
* xonfig: Print WSL version
* procs: Use pipeline groups in WSL2
* news: Add procs-wsl1-check
2021-07-26 16:34:00 -04:00
Noorhteen Raja NJ
73cf0c27be
test: remove redundant xonsh session mock fixture ( #4390 )
...
xonsh_execer
2021-07-25 18:38:10 +03:00
Noorhteen Raja NJ
112440ef63
feat: support var-args signature for aliases ( #4379 )
...
* feat: support var-args signature for aliases
* test: add test for callable alias
2021-07-25 13:15:05 +03:00
Daniel Shimon
f1c5372d3a
completers: Normalize descriptions ( #4388 )
...
Start with uppercase and end with a period
2021-07-25 09:05:25 +03:00
Daniel Shimon
e9b12c8b70
Updated CHANGELOG for 0.10.1
2021-07-24 22:47:37 +03:00
Daniel Shimon
603ddba6ba
bumped version to 0.10.1
2021-07-24 22:47:37 +03:00
Daniel Shimon
952742b5d1
Updated authorship for 0.10.1
2021-07-24 22:47:37 +03:00
Gyuri Horak
98d4d2a184
Short color token name support for register_custom_style()
( #4339 ) ( #4342 )
2021-07-24 18:37:51 +03:00
Jeremy Schlatter
09fcab65d2
fix surprising scoping behavior in execx
and xonsh -c
( #4363 ) ( #4364 )
...
* fix #4363
* fix test_integrations.py
* add tests for issue 4363
* fix regression
* add news item
* fix formatting with black
* fix news formatting
2021-07-24 17:17:37 +03:00
Daniel Shimon
9205b00e2c
appimage: Upgrade to python 3.9
2021-07-24 14:43:38 +03:00
Daniel Shimon
26f41ab642
Revert "Temporarily remove AppImage from rever"
...
This reverts commit 3ce1f2e56b
.
2021-07-24 14:43:38 +03:00
Daniel Shimon
3ce1f2e56b
Temporarily remove AppImage from rever
2021-07-24 13:34:19 +03:00
Daniel Shimon
91e8e52e76
Updated CHANGELOG for 0.10.0
2021-07-22 02:51:00 +03:00
Daniel Shimon
441b6cdbd1
bumped version to 0.10.0
2021-07-22 02:50:59 +03:00
Daniel Shimon
62b5b78401
Updated authorship for 0.10.0
2021-07-22 02:50:59 +03:00
Daniel Shimon
a435ae2ae6
rever: Install bash-completion in docker
2021-07-21 01:52:46 +03:00
Daniel Shimon
6e6b76e118
rever: Use pip deps in docker container
2021-07-21 01:52:04 +03:00
Daniel Shimon
1c0d05f90a
rever: Correctly parse requirements for conda
2021-07-21 01:52:04 +03:00
Jeremy Schlatter
db99b64635
code simplifications ( #4373 )
...
* code simplifications
* add blank news item
There seems to be a CI check that requires this for each PR, But this
seems like it shouldn't be included in the next release notes, so I'm
leaving it blank.
2021-07-18 09:15:15 +03:00
Jeremy Schlatter
7cf0307a0d
fix typos ( #4362 )
2021-07-09 15:55:54 -04:00
Noorhteen Raja NJ
c06ed5ef2d
refactor: small speedup by late import ( #4345 )
...
* refactor: small speedup by late import
* refactor: keep the order of paths in cmd_cache
* refactor: small nit in color_tools
2021-07-06 18:37:22 +03:00
Daniel Shimon
daa27337dd
Amalgamated release ( #4355 )
...
* pip: Ensure the release version of xonsh is amalgamated
It will be amalgamated regardless of whether amalgamate.py is installed
* manifest: Remove non-existent PLY files
* pip: Add completion parser table
* amalgam: Update init files
2021-07-05 20:59:44 +03:00
Noorhteen Raja NJ
c578c37f83
refactor: remove non-source files from ply vendored ( #4321 )
...
* refactor: remove non-source files from ply vendored
* chore: xonsh/ply upgrade command from makefile
2021-07-01 09:35:57 -04:00
Noorhteen Raja NJ
a52c364569
refactor: remove unused argument to parser ( #4344 )
2021-07-01 15:17:45 +03:00
Peter Ye
86f02c0341
Stop $() from silently capturing stderr ( #4336 )
...
* Stop $() from silently capturing stderr
* Add test
2021-06-24 09:43:21 -04:00
Peter Ye
9b79e4186e
Enable bracketed paste mode for readline ( #4337 )
2021-06-24 09:31:54 -04:00
Peter Ye
b74bdbcc72
docs: fix typo in prompt tutorial ( #4335 )
2021-06-22 19:49:54 +03:00
Peter Ye
715fb867b4
Fix parser for subprocess command with leading whitespace ( #4331 )
...
* Fix parser for subprocess command with leading whitespace
* Add tests for subprocess leading space
* Add news
* Parameterize parser tests
2021-06-22 18:42:01 +03:00
Daniel Shimon
f87be90d6f
procs: Add $XONSH_CAPTURE_ALWAYS variable for opt-in interactive capt… ( #4283 )
...
* procs: Add $XONSH_CAPTURE_ALWAYS variable for opt-in interactive capturing
* tests: Add tests for $XONSH_CAPTURE_ALWAYS
* tests: Fix tests wrt $XONSH_CAPTURE_ALWAYS
* news: Add optional-interractive-capture
2021-06-21 12:36:37 -04:00
Daniel Shimon
985773a5c1
completers: bash: Fix completing an empty prefix ( #4316 )
2021-06-20 12:54:36 +03:00
Peter Ye
4f3c5196f3
docs: Remove duplicate Installation heading ( #4326 )
2021-06-20 12:51:31 +03:00
Peter Ye
d33d60ee3e
Fix the handling of colons when mixed with comments ( #4332 )
...
* Add ends_with_colon_token tool
* Add execer test for comment ending with a colon
* Use ends_with_colon_token() to catch non-indented blocks in execer
* Use ends_with_colon_token() for automatic indentation in prompt_toolkit and readline
* Add news
2021-06-20 12:50:03 +03:00
Noorhteen Raja NJ
33d2a1f04e
feat: make completer accept generators ( #4319 )
...
* feat: make completer accept generators
fixes #3968
* docs: add news item
* refactor: handle None value of $COMPLETION_QUERY_LIMIT
2021-06-20 12:42:30 +03:00
Daniel Shimon
8e547d0008
linux: Quote command-not-found argument ( #4317 )
2021-06-15 19:56:26 +03:00
Daniel Shimon
2ed6fc2e01
aliases: Fix $__ALIAS_NAME for anonymous functions ( #4325 )
2021-06-15 15:24:55 +03:00
Noorhteen Raja NJ
de463f019d
chore: update mypy to 0.902 ( #4324 )
2021-06-14 23:10:22 +03:00
Peter Ye
7a58071d1f
Fix atdollar_no_output test ( #4322 )
2021-06-14 08:47:05 +03:00
Noorhteen Raja NJ
f3d314bc36
chore: move news items check to qa ( #4314 )
...
fixes #4313
2021-06-11 15:01:35 +03:00
Peter Ye
354f446f54
Fix empty command error message ( #4308 )
...
* fix pathsplit
* fix error message for empty command
* add news
* fix formatting
* fix atdollar_no_output test
2021-06-11 14:11:19 +03:00
Noorhteen Raja NJ
45b588c52e
feat: add config option to hide gitstatus prompt fields ( #4294 )
...
* refactor: create namedConstants for std colors
* feat: add gitstatus hide option
* test: update test_vc to not leak xsh object
2021-06-11 02:24:24 +03:00
JackofSpades707
a4ca034b9c
Address ON_WSL() bug #4310 ( #4311 )
...
* Address ON_WSL() bug #4310
Solution for #4310
`return "microsoft" in platform.release().lower() # might be a better solution?`
`return "wsl" in platform.release().lower() # might be a better solution?`
* Addressed #4310 - Added output for ON_WSL
For some reason this wasn't included in the output when running `xonfig`
Perhaps this was on purpose, but wsl is pretty popular and cygwin is detected so I figure I'd address that
* only display "on wsl" field if we detect linux
* Corrected import
* added news entry
* minor clarification in news entry
* Update news/fix_wsl_detection.rst
Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
* Update news/fix_wsl_detection.rst
Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
* This should pass CI tests
Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
2021-06-08 13:12:56 -04:00