Hugo Wang
a5b5ed9045
added a news item
2017-01-07 17:28:27 +08:00
Hugo Wang
a9e6ef6573
use tss instead of buffer
2017-01-06 22:37:10 +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
Anthony Scopatz
dfb05ca5aa
version bump to 0.5.2
2017-01-05 01:18:35 -08:00
Anthony Scopatz
f1f19f791c
Merge pull request #2047 from jonathanhogg/master
...
Ensure input to `commonprefix` is a list (now required by Python 3.6)
2017-01-04 17:47:31 -08:00
Anthony Scopatz
41488ae002
Merge pull request #2048 from jb-leger/ret_code_none
...
ret_code should return None not '' when rc==0
2017-01-04 17:44:18 -08:00
Anthony Scopatz
7d30c6a871
Merge pull request #2057 from xonsh/cache_weechat
...
add weechat to default predictors (ncurses based)
2017-01-04 17:00:17 -08: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
Gil Forsyth
a83dc162b5
Merge pull request #2035 from xonsh/sig
...
fixed segfault regression
2017-01-04 13:54:28 -05:00
Gil Forsyth
f281fbd1fa
add weechat to default predictors (ncurses based)
2017-01-04 06:31:15 -05:00
Jean-Benoist Leger
4c571d8436
news item, VarDocs, and tutorial for $DYNAMIC_CWD_ELISION_CHAR
2017-01-03 21:23:41 +01:00
Jean-Benoist Leger
1cab0702bb
add news item for ret_code_none
2017-01-03 20:28:47 +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
Konstantinos Tsakiltzidis
b32c359de3
Merge pull request #2050 from das-g/patch-1
...
escape backslash in Tutorial warning
2017-01-03 20:11:51 +02: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
Jean-Benoist Leger
115254500a
Use DYNAMIC_CWD_ELISION_CHAR as truncature_char if defined
...
The truncature is brand by '...' in the begining of the trucated cwd.
When DYNAMIC_CWD_ELISION_CHAR is non empty, DYNAMIC_CWD_ELISION_CHAR is used in
place of '...'. DYNAMIC_CWD_ELISION_CHAR is empty string by default, therefore
default behavior is not changed.
2017-01-03 16:43:39 +01:00
Jean-Benoist Leger
7c24a59fe1
Add a ellision caracter (empty by default) when the cwd is shortened by dynamic_cwd
...
By default the path as '/aaaaa/bbbbb/ccccc/ddddd' is shortened to obtain e.g.:
'/aaa/bbb/ccc/ddddd' which can be confusion.
This commit add a DYNAMIC_CWD_ELISION_CHAR env variable which default value
empty string, keeping the same behavior described before.
Setting DYNAMIC_CWD_ELISION_CHAR to '…', for the same path, we obtain
'/aa…/bb…/cc…/ddddd'.
2017-01-03 16:21:49 +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
Jean-Benoist Leger
b6d339a825
ret_code should return None not '' when rc==0
...
When the return code is 0, nothing is displayed in the prompt. Empty string was
returned. Returning None have the same behavior, but allows user to use the
syntax "{retcode:{} }" in the prompt for different spacing.
2017-01-02 01:27:34 +01:00
Anthony Scopatz
682c115fea
Merge branch 'master' into sig
2017-01-01 10:59:32 -08:00
Anthony Scopatz
ba3fa2a60f
fixed os.WCOREDUMP() not on windows
2017-01-01 10:59:25 -08:00
Jonathan Hogg
6f556079de
Ensure input to commonprefix
is a list (now required by Python 3.6)
2017-01-01 13:28:37 +00:00
Anthony Scopatz
c4d2cc161e
Merge pull request #2046 from xonsh/doctr_fixes
...
try latest version of doctr master
2016-12-31 12:13:05 -08:00
Gil Forsyth
4bed3b768a
try latest version of doctr master
...
hoping this fixes the test failures on master re: doc deployment
2016-12-31 14:34:01 -05:00
Anthony Scopatz
a8a861a466
Merge pull request #2045 from xonsh/fix_multiline_execution
...
use ptk-specific `push` when executing commands
2016-12-31 11:11:40 -08:00
Gil Forsyth
9b8b9379a2
add news item
2016-12-31 13:35:45 -05:00
Gil Forsyth
193b5cf08c
use ptk-specific push
when executing commands
...
When events were introduced, the PTK shell's `_push` was left behind.
This is the cause of #2036 as the buffer isn't cleared between separate
prompt inputs, leading to very, very strange behavior.
This restores the use of the PTK `_push` that properly resets the buffer
if the AST fails to compile and also adds in the precommand src
transformation so that the bashisms xontrib still works as expected.
2016-12-31 13:32:01 -05:00
Anthony Scopatz
d495ca5c40
Merge pull request #2040 from mitnk/source-file
...
Minor updates on source alias
2016-12-28 10:50:54 -08:00
Hugo Wang
c09c1af77b
revert context thing
2016-12-25 10:36:23 +08:00
Anthony Scopatz
cda5f87d57
remove live
2016-12-24 12:10:36 -08:00
Konstantinos Tsakiltzidis
34eb3fdb1b
Merge pull request #2037 from xonsh/ltok
...
token bug fix
2016-12-24 13:15:35 +02:00
Hugo Wang
ad48cd23ec
updated tests for windows
2016-12-24 16:45:25 +08:00
Hugo Wang
12ed79b345
adding tests
2016-12-24 16:35:08 +08:00
Hugo Wang
4a6aa61e09
make source cmd context aware
2016-12-24 13:31:36 +08:00
Anthony Scopatz
b06d922c19
Merge pull request #2039 from xonsh/doctr_fixes
...
checkout HEAD before attempting second deploy
2016-12-23 16:09:37 -08:00
Gil Forsyth
1a6c15b2ce
checkout HEAD before attempting second deploy
...
I think the errors that doctr encounters when pushing the second set of
docs has to do with trying to add to the gh-pages branch when we're
starting from non-HEAD location?
I'm hoping that by manually putting us back onto HEAD that this should
avoid that...
If this does work, it's probably worth putting into doctr itself.
Usually caveats that we can't test this until it's merged...
2016-12-23 18:42:45 -05:00
Anthony Scopatz
39f72b9e86
Merge pull request #2028 from mitnk/failback-tb
...
print out exception msg when do fail-back
2016-12-23 11:24:22 -08:00
Anthony Scopatz
0ccba28ae4
token bug fix
2016-12-23 11:21:40 -08:00
Anthony Scopatz
ec3882b987
fixed segfault regression
2016-12-22 15:19:30 -08:00
Hugo Wang
914e8dc039
update exc printing
2016-12-22 21:40:10 +08:00
Anthony Scopatz
95052761b5
Merge pull request #2029 from xonsh/doctr_docs
...
use doctr to also manage release docs
2016-12-21 11:29:29 -08:00
Anthony Scopatz
f8fd00c94e
Merge pull request #2027 from chronitis/tests-python-shebangs
...
Tests python shebangs
2016-12-21 11:28:03 -08:00
Gil Forsyth
711b7bac03
add make clean between doc builds
2016-12-21 13:38:02 -05:00