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
Gil Forsyth
9a6918ceee
Merge pull request #2054 from das-g/patch-3
...
Tutorial: replace regexpath by regexsearch
2017-01-03 13:42:41 -05:00
Raphael Das Gupta
fb2c2a7c20
Tutorial: replace regexpath by regexsearch
...
`__xonsh_regexpath__` doesn't seem to exist in Xonsh 0.5.1, but `__xonsh_regexsearch__` has the mentioned implementation according to `??`
Also replaced `??` output with the actual (and user-agnostic) one from a Xonsh installed system-wide with `sudo pip install ...`
2017-01-03 17:58:28 +01:00
Raphael Das Gupta
7f31ca00bc
be more explicit about Xonsh code snippet
...
in the tutorial's Bash/Xonsh comparison concerning backticks
2017-01-03 17:23:51 +01:00
Raphael Das Gupta
69ea35d2cd
reflow tutorial source text
2017-01-03 17:20:38 +01:00
Raphael Das Gupta
3a3275d9a0
rephrase backtick xonsh/bash warning in tutorial
...
... again
(for more clarity)
2017-01-03 17:16:07 +01:00
Raphael Das Gupta
8e5051828f
rephrase backticks xonsh/bash warning in tutorial
2017-01-03 17:13:55 +01:00
Raphael Das Gupta
a257f30c14
add missing verb in tutorial
...
to fix grammar
2017-01-03 17:06:18 +01:00
Raphael Das Gupta
8b00202231
escape backslash in Tutorial warning
...
There is no notion of an escaping character in xonsh, but there is in reStructuredText
2017-01-03 12:56:44 +01:00
Gil Forsyth
d3310c948f
Merge pull request #1917 from SanketDG/fix-input/output-docs
...
Tutorial: Add note about redirection
2016-12-18 15:18:09 -05:00
SanketDG
0c9b809d96
Tutorial: Add note about redirection
...
Fixes https://github.com/xonsh/xonsh/issues/1863
2016-12-19 00:27:21 +05:30
Gordon Ball
ee97ae8bd0
Merge branch 'master' into first-class-paths
2016-12-08 13:06:21 +01:00
Anthony Scopatz
3545358a4b
Merge pull request #1926 from xonsh/promptfields
...
prompt mechanism refactor
2016-11-04 15:21:59 -04:00
laerus
927dd300b6
renamed FORMATTER_DICT to PROMPT_FIELDS
2016-11-02 16:06:35 +02:00
Anthony Scopatz
9f35a4ea69
wrote tut
2016-10-30 10:47:32 -04:00
Anthony Scopatz
86111a6ebf
Uncaptured aliases
2016-10-29 21:11:08 -04:00
Gil Forsyth
af2a67870d
dont remove indent on example
2016-10-25 11:16:48 -04:00
Gil Forsyth
b0de2c55ab
fix lexer name
2016-10-25 11:01:03 -04:00
Gordon Ball
7d79644612
Merge branch 'master' into first-class-paths
2016-10-19 15:05:42 +02:00
Gordon Ball
00802dfef9
Add support for path-yielding backticks
2016-10-18 12:19:16 +02:00
Gordon Ball
5e843149af
Add tutorial section noting path objects can be implicitly used in subprocess mode
2016-10-17 21:20:45 +02:00
Gordon Ball
ca0d365d68
Reference path literals and backticks in the tutorial, and add news
2016-10-17 15:18:30 +02:00
laerus
1d631b8588
quoting tutorial code block fix
2016-10-15 23:43:22 +03:00
laerus
cee72fd1eb
tutorial quoting section
2016-10-15 20:12:10 +03:00
Anthony Scopatz
b3f84f66c5
More which and improvements
2016-10-06 00:43:14 -04:00
Anthony Scopatz
f62397fc99
updated docs
2016-10-04 20:51:45 -04:00
laerus
49c2dc87b5
Env.help docs/tutorial
2016-09-21 13:27:34 +03:00
laerus
bd07742abe
more info in the tutorial warning
2016-09-10 22:03:21 +03:00
laerus
78494bfbbb
envvar to control the overriding of foreign aliases
2016-09-10 21:39:47 +03:00
laerus
ba486622c5
must include all changed files..
2016-09-10 20:45:14 +03:00
BlahGeek
413f406f64
add docs
2016-09-03 13:13:13 +08:00
Gil Forsyth
eb6b1dcf11
small typo fix
2016-08-23 08:45:51 -04:00
Anthony Scopatz
7837563baf
check all names
2016-08-21 14:58:07 -04:00
Gil Forsyth
e363192d67
remove bash (from the docs)
...
swapping out all instances of `bash` code-blocks for `console`
code-blocks for better syntax highlighting
2016-08-18 14:18:57 -04:00
Matthias Bussonnier
9e9c76e50a
Improve documentation and messaging.
...
Develop info for aliases, and tell user that on first launch that if
they decide to configure now they can resume anytime.
2016-08-10 21:43:24 -07:00
Eric Harris
0fe1092b2e
s.strip needs to be method call, 's.strip()', for the example to work
...
correctly. While not necessary, adding the newline ('world\n') puts 'hello
world' on its own line of output instead of having the xonsh prompt
appended to it.
2016-08-04 10:37:26 -07:00
Anthony Scopatz
967424809b
some minor doc fixes
2016-07-20 21:27:17 -04:00
Justin Moen
9f4acbdfa0
Document prompt's env_name
parameter
2016-07-15 18:30:16 -07:00
Anthony Scopatz
9810714853
more docs
2016-07-12 03:02:15 -04:00
Oleh Prypin
9d74df0421
Document "optional items" in the prompt format string
2016-07-01 20:30:13 +03:00