Commit graph

25 commits

Author SHA1 Message Date
Andy Kipp
e1a93cef19
New prompt end character (#5063)
Co-authored-by: a <1@1.1>
2023-05-16 13:36:50 +00:00
Mark Bestley
1e6faa47ce
Remove python REPL prompts so that you can copy the code (#5022) 2023-01-11 17:27:44 -05:00
Gil Forsyth
bcf2592b7d
doc: remove references to deprecated RC location, update changelog (#5012) 2022-12-14 22:00:15 -05:00
Vasilis Gerakaris
1d61d8d711 Document that xonshrc files not applied on non-interactive mode 2022-10-20 03:20:33 +05:30
Noorhteen Raja NJ
cbf23e60fb
Pre commit ci (#4863) 2022-07-01 11:47:01 -04:00
Noorhteen Raja NJ
d7dbfa9011
Lab/py control file (#4420)
* feat: use python's compile for rc.py

* docs: add news item

* docs: update news item

* test: add tests for py-control files

* fix: rst news item

* docs: update news item

* docs: add sample rc.py
2021-08-19 12:40:22 -04:00
Gordon Ball
d48c93bdb5
Add support for rc.d drop-in configuration directories (#4256)
* Add support for rc.d drop-in configuration directories

* main: change how --rc, --no-rc are handled

Explicitly pass --no-rc rather than signalling it as an empty --rc, to
indicate that we should suppress both XONSHRC and XONSHRCDIR in that
case.

* Rename XONSHRCDIR -> XONSHRC_DIR

* xonshrc_context: document setting env for XONSHRC_DIR

* main: --rc foo.xsh should suppress XONSHRC_DIR
2021-05-11 16:42:37 -04:00
colons
6c4d2a05fa Fix the import in the branch colour override example. 2020-11-25 12:10:42 +00:00
Danny Sepler
088420d075 a few more 2020-10-03 23:25:27 -04:00
Bob Hyman
6f549ca6c3 Doc updates per review 2020-09-01 20:35:10 -04:00
Bob Hyman
eb2b8f5791 Config rewrite; move platform guides into tips and tricks 2020-08-29 13:34:52 -04:00
Bob Hyman
59bb6b3b88 More getting started reorg 2020-08-24 04:46:25 -04:00
con-f-use
49615e9e49
add warning about JSON hack 2020-07-27 09:37:32 +02:00
con-f-use
dd3baf5835
fix typo in docs/xonshrc.rst
Co-authored-by: Burak Yigit Kaya <ben@byk.im>
2020-06-30 20:00:31 +02:00
con-f-use
51671628e3
typo in docs/xonshrc.rst
Co-authored-by: Morten Enemark Lund <melund@gmail.com>
2020-06-26 00:54:38 +02:00
con-f-use
eca552bd9e
typo docs/xonshrc.rst
Co-authored-by: Jamie Bliss <jamie@ivyleav.es>
2020-06-11 19:56:03 +02:00
con-f-use
9b418489f5
language docs/xonshrc.rst
Co-authored-by: Jamie Bliss <jamie@ivyleav.es>
2020-06-11 19:55:49 +02:00
con-f-use
bfac091034
More xonshrc snippets
...while I was at it.

 - Change date format for every other prompt
 - Use Nix Package Manager with Xonsh
2020-06-11 02:27:33 +02:00
con-f-use
bf4eb0e5d4
document xdg compatible xonshrc path 2020-06-11 01:59:14 +02:00
laerus
927dd300b6 renamed FORMATTER_DICT to PROMPT_FIELDS 2016-11-02 16:06:35 +02:00
Marvin Steadfast
5a1d10b85f docs: Fixed git_dirty_working_directory location
The xonshrc example imported `git_dirty_working_directory` still from
`xonsh.environ`. Now its located in `xonsh.prompt.vc_branch`.
2016-09-13 13:18:01 +02:00
Anthony Scopatz
bf7c58ee03 doc cleanup 2016-03-20 14:03:46 -04:00
Morten Enemark Lund
3ca0e00677 Update xonshrc.rst
Add snippets/tricks section to the xonshrc documentation
2016-02-28 23:24:02 +01:00
Gil Forsyth
c1cbf117fd Update xonshrc.rst for multiple xonshrc files 2015-10-26 16:44:51 -04:00
Anthony Scopatz
778d19341b added rc file 2015-09-12 20:27:21 -04:00