Commit graph

256 commits

Author SHA1 Message Date
Tobias Becker
d173ad7f3b
Add a warning to the docs about $args in ExecAlias (#5033) 2023-01-17 13:05:39 -05:00
Vasilis Gerakaris
1d61d8d711 Document that xonshrc files not applied on non-interactive mode 2022-10-20 03:20:33 +05:30
Noorhteen Raja NJ
cbf23e60fb
Pre commit ci (#4863) 2022-07-01 11:47:01 -04:00
Peter Ye
b2c42ed2f3
feat: f-glob strings (#4835)
* feat: add support for f-glob strings

Move xonsh_pathsearch() into the BaseParser class because it needs to use self._set_error()

Parametrize 6 backtick tests in test_parser.py into test_backtick() (and add cases for f-glob strings)

* add news

* docs: update tutorial

* fix news file
2022-06-12 13:45:16 +05:30
dev2718
e62c0e9cec
Returncode enhancements (#4798)
Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
2022-05-10 09:43:32 -04:00
Noorhteen Raja NJ
d49b164379
gitstatus modular (#4697) 2022-03-21 11:18:36 -04:00
E Pluribus Unum
6fc77f2fcb
do to following -> do the following (#4728)
* do to following -> do the following

very minor spelling correction

* Minor spelling corrections
2022-03-21 10:05:20 +05:30
Kyllingene
1889d3e2ea
Clarified use of time_format in docs (#4714)
* Added reference to ``PROMPT_FIELDS`` section in ``time_format`` definition

* Forgot the news item, added now

* Generalized reference to PROMPT_FIELDS
2022-03-15 08:17:16 +05:30
dev2718
1aefbf3b35
Fix: detype None env-vars to '' to fix #4600 (#4649)
* detype untyped and path env-vars to ""; path_to_str("") == None

* update env-var-tutorial, add news

* update test_expandvars, test_expand_path, test_register_custom_var_str

* trigger CI-rerun since unrelated osx test failed

Co-authored-by: Alexander Firbas <alexander.firbas@gmail.com>
2022-01-21 14:46:50 +05:30
Peter Ye
b74bdbcc72
docs: fix typo in prompt tutorial (#4335) 2021-06-22 19:49:54 +03:00
Andy Kipp
039ce96dcd
feat: Added ability to get arguments list in ExecAlias (#4201)
* black

* news

* test

* alias_argN

* ExecAlias docs

* note about merge operator

* $args

* docs

Co-authored-by: a <a@a.a>
2021-04-15 09:39:13 -04:00
Evgeny
3df1426f8e
Updated references to point to 'main' instead of 'master' (#4202)
* doc: update path to the most recent xonsh source code ('master' to 'main')

* doc: change 'master' to 'main' in some doc references
2021-03-30 13:40:43 -04:00
Andy Kipp
9618fa2a36
Added casting CommandPipeline to int, hash, str (#4205)
* cast

* test

* added tests and str

* news

* test

* skip windows

* docs

* docs

* tests

Co-authored-by: a <a@a.a>
2021-03-30 13:36:01 -04:00
Andy Kipp
38e1383b63
Update tutorial.rst (#4174)
Co-authored-by: a <a>
2021-03-16 13:52:11 -04:00
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
Daniel Shimon
97d076855b procs: Allow bytes objects in the @() operator 2020-11-06 18:33:27 +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
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
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
81c4f4c636 Merge branch 'master' of https://github.com/xonsh/xonsh into printx 2020-10-06 00:02:08 +03:00
Anthony Scopatz
b5a7439dca
Merge pull request #3830 from dannysepler/typos
Fix some typos in docs
2020-10-05 14:42:43 -05:00
Anthony Scopatz
97d0d0592a
Merge pull request #3831 from anki-code/tutorial_literal
Added "Advanced String Literals" to the "Tutorial".
2020-10-05 14:42:00 -05:00
a
9ed8c6b9e3 Advanced String Literals 2020-10-04 18:49:54 +03:00
a
d406fd2919 Advanced String Literals 2020-10-04 18:48:51 +03:00
a
fbeb3f18d4 Advanced String Literals 2020-10-04 18:47:12 +03:00
a
02be19096e Advanced String Literals 2020-10-04 18:39:51 +03:00
Danny Sepler
b59b0ceed2 Fix some typos 2020-10-03 23:02:39 -04:00
a
75d16233d0 printx 2020-10-01 04:08:34 +03:00
a
99ae3ff00d docs 2020-10-01 01:36:08 +03:00
cafehaine
1c7e841da0 Remove reference to NO_COLOR in docs 2020-09-26 15:11:43 +02:00
Eadaen1
50257a563e Update tutorial with cwd_dir changes. 2020-09-11 12:14:04 +01:00
Bob Hyman
59bb6b3b88 More getting started reorg 2020-08-24 04:46:25 -04:00
cafehaine
cb14ea9acd docs: More examples of what SubprocSpec can do 2020-08-02 09:30:22 +02:00
anki-code
e1e7d27081
Add $XONSH_TRACE_SUBPROC to the tutorial (#3540)
* New xontrib-output-search

* $XONSH_TRACE_SUBPROC in the tutorial #3539

* $XONSH_TRACE_SUBPROC in the tutorial #3539

* news

* trace alternative

Co-authored-by: anki-code <anki-code>
2020-04-30 20:18:28 -04:00
anki-code
cd6cf6433d
Path object allows do some tricks with paths 2020-02-23 19:42:32 +03:00
anki-code
51129f7494
sphinx's reference system 2020-02-17 13:40:10 +03:00
anki-code
98d41e4fa0
To update os.environ set $UPDATE_OS_ENVIRON to True. 2020-02-17 11:50:22 +03:00
Marcio Mazza
0d1a761ad2
Fix typo 2020-02-05 19:38:52 +01:00
Anthony Scopatz
1684c91224 news and docs 2019-10-23 18:04:26 -04:00
Anthony Scopatz
5e7df84548 color modifier fix 2019-10-02 16:37:16 -04:00
virus
6ed9ad69b0 change language of code-block in uncapturable of tutorial. 2019-03-14 00:03:59 +09:00
Anthony Scopatz
20ac4bf46f basicly working 2019-03-12 18:36:18 -04:00
Anthony Scopatz
6a8c269342 minor docs 2019-03-11 14:22:31 -04:00
Anthony Scopatz
33e57f4317 news, docs, black 2019-03-07 14:56:56 -08:00
Brian Skinn
4f742b465a Add docs clarification about env var behavior precedence.
`$VIRTUAL_ENV_DISABLE_PROMPT` overrides any `$VIRTUAL_ENV_PROMPT`
2019-01-31 00:41:32 -05:00