Commit graph

842 commits

Author SHA1 Message Date
anula
c56c2c8330 Add prompt_toolkit based shell.
This adds prompt_toolkit based shell in addition to existing readline
shell. By default regular readline shell is loaded, to use
prompt_toolkit version you need to add:

    $PROMPT_TOOLKIT_SHELL = True

to your ~/.xonshrc
Another nice thing to add there is:

    from xonsh.pyghooks import XonshLexer
    $HIGHLIGHTING_LEXER = XonshLexer

that adds highlighting of shell input (may be a bit annoying sometimes).

There is no key for inserting indentation yet, it will be improved in the
future.
2015-05-16 19:34:44 +02:00
Anthony Scopatz
7c32956501 fixed merge conflicts 2015-05-15 00:37:29 -05:00
Anthony Scopatz
752cd980fd added validation and coversion to env vars 2015-05-14 19:59:16 -05:00
Anthony Scopatz
9af75b321f moved Env to environ.py 2015-05-14 18:18:46 -05:00
Robert W. Brewer
a2ca0d885b simplify and rename escape_windows_command_string() -> escape_windows_title_string(); add test for it; pep8 improvements 2015-05-13 23:14:31 -04:00
Robert W. Brewer
1b0c1f291f windows: clarify that regex globbing with backslashes unavailable on windows. Add test to verify it on non-windows. 2015-05-12 23:54:21 -04:00
Robert W. Brewer
ad741edb6a windows: prettify test_win_ipconfig() 2015-05-12 03:24:35 -04:00
Robert W. Brewer
0ba6ad3f10 windows: use ON_WINDOWS and $SYSTEMROOT in tests 2015-05-12 03:14:36 -04:00
Robert W. Brewer
55e412c7e9 tab completion working with pyreadine; default prompt working; tests pass 2015-05-09 01:58:51 -04:00
Anthony Scopatz
ca1fbb3f87 more docs 2015-05-03 20:09:26 -05:00
Anthony Scopatz
7b06c6e034 some tests and a bug fix 2015-05-03 19:57:57 -05:00
Anthony Scopatz
b5943b15ac can load index 2015-05-03 18:25:13 -05:00
Anthony Scopatz
44334bb947 start of file loader 2015-05-03 17:57:21 -05:00
Anthony Scopatz
8a761a1f5d more tests 2015-05-03 16:05:11 -05:00
Anthony Scopatz
221e587ac7 can test 2015-05-03 15:53:26 -05:00
Anthony Scopatz
d98f16c503 unpack targets in comprehension 2015-04-16 19:07:24 -05:00
Anthony Scopatz
3aa94f43fb some completion tools 2015-04-05 15:42:24 -05:00
Anthony Scopatz
0ed727e273 prevents detyping mappings as string to env. 2015-04-05 00:26:32 -05:00
Anthony Scopatz
c964927f10 please work 2015-04-02 20:23:26 -05:00
Anthony Scopatz
a60779966e morro 2015-04-02 20:17:30 -05:00
Anthony Scopatz
c4087964c6 test fix 2015-04-02 20:00:58 -05:00
Anthony Scopatz
aa8846f3af more fixes 2015-04-02 19:54:33 -05:00
Anthony Scopatz
ecf201bbf9 more updates 2015-04-02 19:42:38 -05:00
Anthony Scopatz
cf0c023c8e some landscape fixes 2015-04-02 19:11:50 -05:00
Anthony Scopatz
f150048aac undetypes env for mutable value access. 2015-03-31 19:54:18 -05:00
Anthony Scopatz
f208cfe2fb fix for ' ls;' 2015-03-31 19:40:35 -05:00
Anthony Scopatz
41e863f330 bad fix 2015-03-31 11:02:36 -05:00
Anthony Scopatz
b03e59b5e2 more robust subproc injection 2015-03-30 19:27:04 -05:00
Anthony Scopatz
78cc184a15 test subpackage 2015-03-29 22:53:33 -05:00
Anthony Scopatz
08609ca0ca added relative import test 2015-03-29 18:29:56 -05:00
Anthony Scopatz
51bc86ab49 more robust loading / unloading 2015-03-29 18:25:11 -05:00
Anthony Scopatz
8fd9e05b9b first light on import hooks 2015-03-29 17:49:44 -05:00
Anthony Scopatz
5eb0ed0d91 implements non-string sequences to @() 2015-03-28 17:55:48 -05:00
Anthony Scopatz
6cacba8cc7 from x import * tests 2015-03-28 09:12:10 -05:00
Anthony Scopatz
35e80b6187 Merge branch 'unpack' 2015-03-26 15:37:17 -05:00
Anthony Scopatz
682c09f153 fix broken test 2015-03-26 01:36:56 -05:00
Anthony Scopatz
621f68c5da should fix errors 2015-03-26 01:33:08 -05:00
Anthony Scopatz
7295327f7a more landsape tests 2015-03-26 01:04:05 -05:00
Anthony Scopatz
070576af44 try disabling syntax error, again 2015-03-26 00:54:03 -05:00
Anthony Scopatz
368c4c831f fix for multiple assigment 2015-03-26 00:51:31 -05:00
Anthony Scopatz
9a92812f1c try disabling syntax error 2015-03-26 00:15:50 -05:00
Anthony Scopatz
5d405499f9 fix and tests for mutliple assignment 2015-03-25 23:53:15 -05:00
Anthony Scopatz
402e393ad1 some test improvements 2015-03-25 18:32:10 -05:00
adam j hartz
d289163b5f add complicated tests from reported issues 2015-03-24 22:38:29 -04:00
adam j hartz
a5ae2ca4db remove superfluous print 2015-03-24 22:32:25 -04:00
adam j hartz
7a636430a6 lexer tests 2015-03-24 22:09:50 -04:00
Mattias Ugelvik
45005cddf2 Merge branch 'master' of https://github.com/scopatz/xonsh
Conflicts:
	xonsh/built_ins.py
2015-03-22 16:51:31 +01:00
Anthony Scopatz
0b4d77a212 Merge branch 'nl' 2015-03-22 10:28:19 -05:00
Anthony Scopatz
2691af884b Merge branch 'syntax' of https://github.com/wrywerytwreywery/xonsh into wrywerytwreywery-syntax 2015-03-22 10:24:56 -05:00
Mattias Ugelvik
1483159dd2 Recursive alias evaluation 2015-03-22 02:46:33 +01:00