Commit graph

38 commits

Author SHA1 Message Date
Andy Kipp
ebb6abd200
history pull (#5047)
Co-authored-by: a <aaa@aaa.aaa>
Closes https://github.com/xonsh/xonsh/issues/5044
2023-02-08 08:20:01 -05:00
Andy Kipp
b836134f0c
Update tutorial_hist.rst: remove description of not implemented logic (#4930)
Update tutorial_hist.rst
2022-09-03 10:02:22 -04:00
Noorhteen Raja NJ
cbf23e60fb
Pre commit ci (#4863) 2022-07-01 11:47:01 -04:00
Jason R. Coombs
03ddd829d6
Clarify behavior for capturing and storing output in the history. (#4578)
* Clarify behavior for capturing and storing output in the history. Fixes #4576.

*  Fade to black.
2021-12-02 00:12:42 +05:30
Eadaen1
49bc38e4d4 Add docs. 2020-09-17 02:15:52 +01:00
David Dotson
a8d4a57f01
Environment variable registration, deregistration (addresses #3227) (#3377)
* First attempt at register/deregister machinery for envvars

* Added detailed docstring, simplified ensurers

Also added some type checking that became clear from docstring writing.

* Changes in response to @scopatz review

Simplified kwarg names.

* defaultval -> default

* Created new Var namedtuple, as well as DEFAULT_VARS

We should now delete DEFAULT_ENSURERS, DEFAULT_VALUES, DEFAULT_DOCS, and
refactor Env to use the new single namedtuple and the DEFAULT_VARS dict

* Removed DEFAULT_ENSURERS, DEFAULT_VALUES, DEFAULT_DOCS

Now need to edit Env to use new DEFAULT_VARS, Var namedtuple

* Finished updating Env object to use new combined Var

Also made corresponding changes elsewhere ensurer was used

* Working on test failures

* More fixes in light of test failures

* Set default values for Var in register.

There's a bit of duplication here, but makes for a cleaner function.

* Black reformatting on environ.py

* Removed history replay

* Added register tests

* Added addtional deregistration test

* Removed all replay references, in docs too

* Added news item for env-reg-dereg

* trigger rebuild

* doc fix

* more doc fixes

* again

* attr names

* reorder imports

* fix flake error

Co-authored-by: Anthony Scopatz <scopatz@gmail.com>
2020-08-05 10:39:11 -04:00
David Strobach
19e774c0d5 Add history flush action 2020-05-08 23:56:49 +02:00
con-f-use
abd3f8e90e
Missing word in tutorial_hist 2019-05-15 12:05:27 +02:00
con-f-use
7b7a2bf7ed
Document missing output history with sqlite 2019-05-15 11:53:37 +02:00
David Dotson
1d60f9397b Updated docs with __xonsh__ changes 2018-09-30 13:59:08 -07:00
Anthony Scopatz
8c4268bfa1 minor doc fix 2017-02-08 11:41:23 -05:00
Hugo Wang
dc2f7d3913 Merge branch 'master' into doc-hist-tutor 2017-02-06 08:18:41 +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
05958da81d refine english in docs 2017-02-03 21:38:28 +08:00
Hugo Wang
4b96441f28 totor write your own history BE - wip 2 2017-02-02 19:49:53 +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
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
Konstantinos Tsakiltzidis
d672567e16 fix rst 2016-09-02 13:40:19 +03:00
laerus
c2b7e50d45 history tutorial and a bug fix 2016-09-02 13:33:45 +03:00
Anthony Scopatz
3dc6703e45 some hist doc changes 2016-06-17 13:52:05 -04:00
JohnLunzer
1ba3b50090 Updated documenation and changed to direct imports 2016-06-17 12:55:42 -04:00
Anthony Scopatz
50d76f9570 more docs 2016-05-11 01:55:53 -04:00
Carol Willing
218ae48553 Fix typo 2016-01-18 20:35:33 -08:00
Anthony Scopatz
f945e9ac22 definite article 2015-08-27 17:18:40 -04:00
Anthony Scopatz
b381e7ba8c copy edit 2015-08-27 17:08:34 -04:00
Anthony Scopatz
635dee5388 splchk 2015-08-27 16:29:57 -04:00
Anthony Scopatz
103b14f0ad more tut 2015-08-27 16:26:26 -04:00
Anthony Scopatz
ce85c6ebff more tutorial 2015-08-27 15:58:11 -04:00
Anthony Scopatz
11e34db5e2 more tut 2015-08-27 15:28:04 -04:00
Anthony Scopatz
fce20e8c70 more tut 2015-08-27 14:30:50 -04:00
Anthony Scopatz
4b552d09ca more actions 2015-08-27 13:14:39 -04:00
Anthony Scopatz
5d68a5530c added show command 2015-08-27 10:59:44 -04:00
Anthony Scopatz
3023a5964e more tutorial 2015-08-27 10:05:56 -04:00
Anthony Scopatz
ee76877209 some doc updates 2015-08-27 09:56:42 -04:00
Anthony Scopatz
edef29b79e more hist 2015-08-27 01:01:43 -04:00