Commit graph

772 commits

Author SHA1 Message Date
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
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
Anthony Scopatz
cda5f87d57 remove live 2016-12-24 12:10:36 -08:00
Anthony Scopatz
7b05e32ca0 no org 2016-12-20 15:20:03 -08:00
Anthony Scopatz
77e8b10f07 more doc fixes 2016-12-20 13:47:58 -08: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
Anthony Scopatz
25cf37a090 Merge pull request #2018 from xonsh/xompletions
Xompletions
2016-12-16 10:37:19 -08:00
Hugo Wang
3b5b86fd98 docs update 2016-12-17 01:36:58 +08:00
Hugo Wang
568687d6b9 for english 2016-12-17 00:48:19 +08:00
Gil Forsyth
582d9abf23 fix incorrect eventsbody generation in conf.py 2016-12-16 11:22:32 -05:00
Gil Forsyth
4a4076a0c2 add xompletions to api docs 2016-12-16 11:22:23 -05:00
Hugo Wang
a3027d020b updated docs/api/history/ 2016-12-17 00:06:03 +08:00
Hugo Wang
23ec9ab316 doc fix 2016-12-16 23:05:45 +08:00
Hugo Wang
3b213fc588 wip - updating history docs 2016-12-16 23:01:14 +08:00
Gil Forsyth
53ffa886bc Merge pull request #2015 from xonsh/gazing
Python-powered, cross-platform, Unix-gazing shell
2016-12-15 16:08:05 -05:00
Anthony Scopatz
d85dc753af index changes 2016-12-15 10:09:48 -08:00
Anthony Scopatz
cbb9c24959 Python-powered, cross-platform, Unix-gazing shell 2016-12-15 09:38:26 -08:00
Gil Forsyth
53595218c3 update path to history_main in docs 2016-12-14 13:42:43 -05:00
dragon788
5f5a534452 Fix typo
Fixed a misspelled word.
2016-12-08 22:04:28 -06:00
Gordon Ball
ee97ae8bd0 Merge branch 'master' into first-class-paths 2016-12-08 13:06:21 +01:00
Jamie Bliss
4d43087757 For #1996 2016-12-05 13:48:13 -05:00
Gil Forsyth
45670f1dd6 import xonsh.main to fix events docs generation
sphinx will implicitly import main, but not before we call
`make_events()`, so only `on_chdir` shows up on the events listing.
explicitly importing `xonsh.main` fixes this up so all of the available
events are documented properly.
2016-12-01 12:41:19 -05:00
Anthony Scopatz
8fa2b2f185 front page hooks to xonsh-live 2016-11-27 19:38:00 -05:00
Morten Enemark Lund
4c3183edb7 Update better windows console colors 2016-11-05 22:10:04 +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
Konstantinos Tsakiltzidis
705fd4b88e Merge pull request #1920 from xonsh/small_doc_fix
add missing newline in code block
2016-10-31 19:10:26 +02:00
Gil Forsyth
745cdc6a3b add missing newline in code block
What idiot didn't bother to check if this page in the docs was formatted
correctly?  Couldn't they be bothered to at least check that the docs
compiled without errors?

```
git blame
```

Oh.  It was me.
2016-10-31 12:34:46 -04:00
Matthias Bussonnier
5a866781ba Pure-css "Fork me on GitHub" 2016-10-31 07:24:55 -07:00
Matthias Bussonnier
42df1404be Fix "Fork me on GitHub" ribbons.
The current ribbon just don't react on click on some platform for
some reason. Mainly because the Image is in the corner, but not the
link.

This fixes it

Though it still look ugly on hi-dpi screen

One might want to consider a pure-css method like
https://simonwhitaker.github.io/github-fork-ribbon-css/
2016-10-30 20:47:54 -07:00
Anthony Scopatz
0c3bd1649a Merge pull request #1914 from Carreau/rel-canonical
Hack a rel=canonical in the templates.
2016-10-30 21:42:46 -04:00
Matthias Bussonnier
c0d584d7a3 Hack a rel=canonical in the templates.
We do not want non-canonical versions of xonsh docs to be indexed. OR at
least they should point to the canonical version.

Technically we should even try to have the stable version under a
/stable/ url (to leave us with some freedom of changing things) So that
later we can replace stable with X.y and have a version switcher.
2016-10-30 12:27:40 -07: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
126e97075c add expl for libgcc core dump error 2016-10-26 10:12:04 -04:00
Gil Forsyth
843254f212 add dirs alias answer to customization faq 2016-10-26 09:58:12 -04:00