Commit graph

226 commits

Author SHA1 Message Date
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
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
Brian Skinn
4b7944ceed Add documentation for env var effects on prompt
All are edits to tutorial.rst:

 - Expand ``{env_name}`` bullet
 - Add one paragraph each for $VIRTUAL_ENV_PROMPT and
   $VIRTUAL_ENV_DISABLE_PROMPT
2019-01-31 00:10:22 -05:00
Anthony Scopatz
a9babc7d6f env_prefix and env_postfix 2019-01-29 11:27:45 -05:00
Anthony Scopatz
9084c376b2 execalias 2018-11-09 13:49:33 -06:00
Joseph Paul
964e076484
Fix typo 2018-11-01 11:34:09 +01:00
David Dotson
1d60f9397b Updated docs with __xonsh__ changes 2018-09-30 13:59:08 -07:00
Anthony Scopatz
78cc725fa0
Merge pull request #2820 from EmreAtes/patch-1
Add example of arguments for callable aliases
2018-09-18 14:34:16 -04:00
Emre Ates
702a00ccce
Fix typo 2018-09-18 13:08:17 -04:00
Anthony Scopatz
f0c3a4b1cd more tests, news and docs 2018-09-17 18:23:20 -04:00
Emre Ates
0d63efcf1f
Add example of arguments for callable aliases
More discussion in #2819 . The example shows how to pass arguments to subprocess command.
2018-09-17 16:30:34 -04:00
Anthony Scopatz
8db169ec1a docs and tests 2018-08-20 19:57:56 -04:00
christopher
2132373a83 move warning to code block 2018-05-04 14:27:07 -04:00
christopher
72d999d505 no auto split strings 2018-05-04 14:26:21 -04:00
christopher
3fdae9a244 include error in tutorial 2018-05-04 14:24:30 -04:00
christopher
c357cb2894 DOC: single string vs. list of strings in `@()` 2018-05-04 12:18:22 -04:00
Anthony Scopatz
68e09e6569 resolved conflicts 2018-04-20 12:16:19 -04:00
Anthony Scopatz
79751158e5 doc improvements 2018-04-04 12:39:38 -04:00
Anthony Scopatz
23428c1fdb flake8 and doc fixes 2017-12-18 20:33:42 -08:00
Andrew Hundt
c1d6bdfee3 tutorial.rst command line arguments / parameters
added keywords so http://xon.sh/tutorial.html#executing-commands-and-scripts is more searchable
2017-10-05 18:00:51 -04:00
Joel Gerber
12e2fb80cc
Documentation spelling corrections
A number of common spelling typos found within various restructuredText
files have been identified and resolved.
2017-06-07 11:51:06 -04:00
Hugo Wang
5368d720fe moved unthreadable etc decorators to tools 2017-02-12 11:01:24 +08:00
Anthony Scopatz
9e6c4f5420 Merge pull request #2101 from tgoodlet/master
Add a vox custom prompt section
2017-01-28 14:15:15 -05:00
Bernardas
5894a277a9 rename CompletedCommand to CommandPipeline as per v0.5 changes. Also
update the examples for this command.
2017-01-24 05:31:55 +00:00
Tyler Goodlet
e77a6b7281 Add a vox custom prompt section
Aids those of use who like custom prompts but also want the same
prompt behaviour as `virtualenv`.

Resolves #2090
2017-01-23 21:00:36 -05:00
Anthony Scopatz
74480d8b2d Allow stdout to redirect to stderr 2017-01-11 23:29:28 -05:00
Anthony Scopatz
034d391532 Merge pull request #2059 from das-g/fix_anon_alias_fu_stdin_in_tutorial
Tutorial: fix stdin handling in anonymous aliases
2017-01-07 01:10:48 -08:00
Raphael Das Gupta
0e4cb0bbd9 un-generalize anonymous alias lambda 2017-01-05 10:58:26 +01:00
Anthony Scopatz
bd36793498 Merge pull request #2051 from jb-leger/dynamic_cwd_elision_char
Dynamic cwd elision char
2017-01-04 13:05:00 -08:00
Raphael Das Gupta
0d1041d532 Tutorial: fix stdin handling in anonymous aliases
In Xonsh 0.5.1, an alias function's `stdin` argument receives a `_io.TextIOWrapper` object, which cannot be stripped or be treated as a string as-is. We have to `.read()` it first and then `.strip()` the resulting string instead.

Also, fix the second lambda to output the space and EOL correctly.
2017-01-04 14:17:05 +01:00
Jean-Benoist Leger
4c571d8436 news item, VarDocs, and tutorial for $DYNAMIC_CWD_ELISION_CHAR 2017-01-03 21:23:41 +01:00
Konstantinos Tsakiltzidis
8f3c8b0d45 Merge pull request #2053 from das-g/patch-2
Tutorial: Rephrase Bash/Xonsh comparison warning concerning backticks
2017-01-03 20:57:11 +02:00