Commit graph

943 commits

Author SHA1 Message Date
Nate Simon
c4e7843598
add disown command (#4090)
* add "disown" internal command
This command will remove jobs from the shell's job table, allowing the command
to continue running after the shell exits. Configuration options are provided
to manage how suspended background jobs are handled after being disowned.

* job-ctrl-disown code style update

* job-ctrl-disown style updates + change arg --cont to --continue

* Trim extra "=" in doc for "disown" cmd

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
2021-02-09 10:54:17 -05:00
Faris A Chugthai
b163e6f7cd
Update tutorial_ptk.rst (#4052)
Using `_` to indicate italics only works in Markdown. Use `*` to modify text in restructuredText
2021-01-11 11:44:50 -05:00
Noorhteen Raja NJ
bceaafae4d
Add groups to env vars (#4026)
* feat: add grouped-settings for env variables

fixes #4014

style: fix mypy errors

chore: update testing requirements versions

fix: update xonsh.tools import error

* chore: add news item

* fix: update Var.with_default handling env defaults

* fix: set env var.doc_default=DefaultNotGiven

there is a custom handler for it

* chore: update travis

speedup docs generation

* chore: add command to serve docs during development

* docs: add jinja2 helpers/renderers extension for sphinx

* docs: update envvars document

* docs: fix docs failing

* Update xonsh/environ.py

commit suggestion

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>

* Update xonsh/environ.py

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>

* Update xonsh/environ.py

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>

* Update xonsh/environ.py

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>

* Update xonsh/environ.py

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>

* Update xonsh/environ.py

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>

* refactor: update rst-extension

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
2021-01-04 12:21:44 -05:00
Noorhteen Raja NJ
a083d28461
Completer py api (#4018)
* feat: add index to sqlite-history table

* feat: support style argument to RichCompletion object

this will enable setting style for ptk completers

* feat: add xonsh cli/argparser utils

* feat: add python api for adding/removing completers

fixes #3972

* fix: mypy error

* docs: add api doc

* fix: circular imports

* docs:

* fix: testing get-doc cross-platform

* Update xonsh/completers/_aliases.py

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>

* Update xonsh/completers/_aliases.py

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>

* style: convert % to f-strings

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
2020-12-16 14:26:22 -05:00
Henré Botha
e14a17b208
Fix typo 2020-11-26 14:27:33 +01:00
Anthony Scopatz
a1b95730c0
Merge pull request #3992 from colons/vc_branch-in-docs
Fix the import in the branch colour override example.
2020-11-25 12:47:42 -06:00
Anthony Scopatz
3b4522b134
Merge pull request #3994 from anki-code/fix_docs_exec
fix aliases.rst
2020-11-25 12:46:36 -06:00
a
cf0e660783 fix rst 2020-11-25 20:08:24 +03:00
colons
6c4d2a05fa Fix the import in the branch colour override example. 2020-11-25 12:10:42 +00:00
Anthony Scopatz
913077b0b0
Merge pull request #3960 from jnoortheen/use-individual-file-for-xontrib-meta
Use individual file for xontrib meta
2020-11-10 14:44:41 -06:00
Noortheen Raja
d367ed2361 docs: update xontribs tutorial 2020-11-11 00:13:36 +05:30
Noortheen Raja
2b947e9e66 refactor: replace xontribs.json with xontribs_meta.py
closes #3931
2020-11-10 22:12:27 +05:30
Anthony Scopatz
4087fc95a8
Merge pull request #3925 from daniel-shimon/command-pipeline-raw-out
procs: Add CommandPipeline.raw_out for retreival of the raw stdout bytes
2020-11-10 10:07:27 -06:00
David Strobach
70406ad8b6 Docs: Updated History Backend tutorial 2020-11-07 14:15:59 +01:00
Daniel Shimon
97d076855b procs: Allow bytes objects in the @() operator 2020-11-06 18:33:27 +02:00
Anthony Scopatz
3afd5430a0
Procs Initial Refactor (#3897)
* refectored builtins

* refectored posix and readers

* refectored posix and readers

* proxies

* pipelines

* basic procs import cleanup

* fixed / refactored tests

* procs docs

* amalgamate

* XONSH_DEBUG=1 in tests

* exclude xonsh.procs mypy

* Use `pip install` instead of `python setup.py install`

* Update docs/api/procs/pipelines.rst

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>

Co-authored-by: Gil Forsyth <gil@forsyth.dev>
Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
2020-10-20 10:21:11 -04:00
a
23392edb75 revert 2020-10-19 21:54:28 +03:00
a
3ce073cb0b pic 2020-10-18 17:18:25 +03:00
a
2a3afdf389 readme 2020-10-18 03:48:37 +03:00
a
35ffd0e852 readme 2020-10-18 03:37:35 +03:00
omjadas
18ba6a11bc
docs: fix typos 2020-10-17 14:09:08 +11:00
anki-code
5e19f46a2c
Get PID of the current shell. 2020-10-15 19:47:48 +03:00
Gyuri Horak
120fc0a154
merge with upstream 2020-10-14 15:09:24 +02:00
a
08adad5292 Merge branch 'master' of https://github.com/xonsh/xonsh into tutorial_subprocess_mode 2020-10-13 22:26:00 +03:00
a
7bd4daf17a text 2020-10-13 22:25:48 +03:00
a
8f43c99bde text 2020-10-13 22:23:14 +03:00
Gyuri Horak
158d79f0ae
xonsh.tools.register_custom_style as 'user facing' API, short color name support 2020-10-13 19:27:03 +02:00
Will Shanks
b787a6a396 Document variable escaping in bash_to_xonsh 2020-10-13 12:26:03 -04:00
Gyuri Horak
b78dbfa204
include custom styles in xonfig styles, docs + news 2020-10-11 19:42:01 +02:00
a
e529709542 text 2020-10-10 21:20:21 +03:00
a
d7ee5244ab text 2020-10-10 20:53:55 +03:00
a
c0914dca93 text 2020-10-10 19:55:45 +03:00
a
74fc38e8aa docs 2020-10-10 03:29:33 +03:00
a
972cfde3b7 docs 2020-10-10 03:28:17 +03:00
a
e6273c9108 installation 2020-10-09 11:00:14 +03:00
a
d8acebdaeb installation 2020-10-09 02:32:45 +03:00
a
9635c841ed topics 2020-10-09 01:59:53 +03:00
a
798c1f3b62 Cookiecutter 2020-10-09 01:57:46 +03:00
a
503ed00489 consolidation 2020-10-09 01:54:42 +03:00
a
fa4cf7e785 comparison 2020-10-09 01:39:15 +03:00
a
bc58819514 installation 2020-10-09 01:37:23 +03:00
a
2b2c9ad343 installation 2020-10-09 01:33:49 +03:00
a
fb08e3f747 Removed "Register typed environment variables" 2020-10-08 00:01:46 +03:00
a
04df5c75ad env path 2020-10-07 19:22:02 +03:00
a
d6e6cb83e3 vscode and vim editors 2020-10-07 15:00:33 +03:00
a
e50067aed7 If you still have concerns about the determination process... 2020-10-07 14:24:58 +03:00
a
a33310f9ab If you still have concerns about the determination process... 2020-10-07 14:15:00 +03:00
a
67033d3e33 docs 2020-10-06 22:26:15 +03:00
a
3dfdd4414b typo 2020-10-06 00:15:20 +03:00
a
249c7042e8 awesome example in bash to xonsh 2020-10-06 00:09:12 +03:00