Commit graph

811 commits

Author SHA1 Message Date
Gil Forsyth
bc7d4117e9 don't require prompt toolkit for docs on user side
we'll make sure it's available on CI when the docs are generated for the
website, but it shouldn't fail to build in userspace just because of the
ptk events hack thing
2017-02-28 15:17:43 -05:00
Gil Forsyth
91653dafa8 import events via ptk shell to gather all events
Not the prettiest thing but if we don't import the events via the PTK
shell then ``on_ptk_create`` doesn't get picked up during doc generation
2017-02-28 15:13:47 -05:00
Gil Forsyth
8cf38e8e42 rename jsonutils so sphinx sees it 2017-02-28 15:13:30 -05:00
Anthony Scopatz
11da7fe12a New JSON utils module 2017-02-26 15:42:36 -05:00
Morten Enemark Lund
175c2b0e3a Merge pull request #2230 from xonsh/xolor
Xolors
2017-02-22 21:02:52 +01:00
Anthony Scopatz
e1ec1332db doc fixes 2017-02-22 11:49:45 -05:00
Anthony Scopatz
87f52530e5 Merge branch 'master' into rtnjdei 2017-02-21 11:47:15 -05:00
Anthony Scopatz
184a17aea5 added news and docs 2017-02-21 00:15:34 -05:00
Gil Forsyth
126939db2a Merge pull request #2185 from xonsh/xoreutils
Xoreutils Reloaded
2017-02-16 17:00:57 -05:00
Jamie Bliss
af0b80583e Link events reference to events tutorial. 2017-02-16 16:54:01 -05:00
Jamie Bliss
19c4d54568 Link the events tutorial to the events references 2017-02-16 16:52:46 -05:00
Gil Forsyth
d671bef66e no builtins import, use event correctly 2017-02-14 16:51:07 -05:00
Gil Forsyth
3173bd1399 finish first pass on ptk keybinding tutorial 2017-02-14 16:00:25 -05:00
Gil Forsyth
534b29d578 add intro to ptk custom keybinding 2017-02-14 12:32:02 -05:00
Anthony Scopatz
3740716799 audodoc hooks 2017-02-12 18:36:50 -05:00
Hugo Wang
5368d720fe moved unthreadable etc decorators to tools 2017-02-12 11:01:24 +08:00
Anthony Scopatz
5264dd1475 Tab completion in Alderaan places 2017-02-08 22:28:13 -05:00
Anthony Scopatz
8c4268bfa1 minor doc fix 2017-02-08 11:41:23 -05:00
Hugo Wang
17fef9c258 simplify xonshrc code 2017-02-06 08:20:08 +08:00
Hugo Wang
dc2f7d3913 Merge branch 'master' into doc-hist-tutor 2017-02-06 08:18:41 +08:00
Anthony Scopatz
e2bdc263d0 Merge pull request #2117 from xonsh/xip
Add `xip` alias
2017-02-04 10:28:05 -05:00
Hugo Wang
11ca475a67 docs typo fixes 2017-02-04 20:04:53 +08:00
Morten Enemark Lund
a0637985d5 Update info on stdout storage on windows
Isn't it possible to store stdout on windows with the new subproc code?

This PR just remove the comments in the Docs that this is not possible.
2017-02-04 09:17:21 +01:00
Hugo Wang
d4d7e6f6e5 a bit more docs 2017-02-03 21:52:54 +08:00
Hugo Wang
05958da81d refine english in docs 2017-02-03 21:38:28 +08:00
Hugo Wang
0923d10b14 update file name 2017-02-02 20:00:26 +08:00
Hugo Wang
bc1cf46e0a update toc 2017-02-02 19:58:25 +08:00
Hugo Wang
4b96441f28 totor write your own history BE - wip 2 2017-02-02 19:49:53 +08:00
Hugo Wang
7c68b9267d tutor your own history BE - wip 1 2017-02-01 22:24:00 +08:00
Anthony Scopatz
1ae53aa063 Merge pull request #2116 from xonsh/strip_pygments
Remove strict pygments dependency
2017-01-28 22:05:22 -05: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
Jamie Bliss
ebddc5c56b Update news & docs. 2017-01-27 22:06:35 -05:00
Jamie Bliss
a4b0b6be8d Add a note to the event documentation. 2017-01-27 21:32:25 -05:00
Gil Forsyth
bdf885ee7a update dependencies in setup.py and docs 2017-01-27 11:18:16 -05:00
Pedro Rodriguez
3e624be8e7 Change instructions to use bash-completion2 on OS X per https://github.com/xonsh/xonsh/issues/2111 2017-01-26 11:00:22 -07: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
Anthony Scopatz
9949e2c3b7 Merge pull request #2066 from tgoodlet/master
Add colored man page how to
2017-01-05 16:16:26 -08:00
Tyler Goodlet
39e4e7bf7a Add colored man page how to
Resolves #2055
2017-01-05 18:23:36 -05: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