Anthony Scopatz
65eb17c9ea
Merge branch 'master' into ptk-prompt
2015-12-30 11:01:16 -08:00
adam j hartz
bee8216956
Merge pull request #585 from scopatz/ptk
...
Prompt Toolkit subpackage
2015-12-30 13:54:07 -05:00
adam j hartz
6b3bb935cd
Merge pull request #582 from scopatz/r
...
Release script
2015-12-30 13:47:02 -05:00
Anthony Scopatz
40a60fe1d4
prompter ctx manager
2015-12-30 00:57:55 -08:00
Anthony Scopatz
06c3679e51
initial shortcuts
2015-12-30 00:47:49 -08:00
Anthony Scopatz
6769534856
docs update
2015-12-30 00:23:22 -08:00
Anthony Scopatz
659f840e32
fixed AUTO_CD bug
2015-12-29 23:57:00 -08:00
Anthony Scopatz
753cd5dcc4
test fixes
2015-12-29 23:46:44 -08:00
Anthony Scopatz
8f9e5ae574
forgot init
2015-12-29 23:16:34 -08:00
Anthony Scopatz
e535630df5
initial ptk sub-package
2015-12-29 23:15:56 -08:00
Anthony Scopatz
076b8172a0
some minor typo fixes
2015-12-28 13:15:03 -08:00
Anthony Scopatz
1ec0a6bf02
Merge pull request #583 from BYK/fix-windows-run-error
...
Fix error when trying to run commands on Windows
2015-12-25 10:42:51 -08:00
Burak Yigit Kaya
1413ef407f
Fix error when trying to run commands on Windows
...
On Windows, when you both have `command` and `command.bat` files Xonsh
always prefers the `command` version because `'' in PATHEXT` check
always returns `True` (because of the empty string).
This patch fixes this by treating `PATHEXT` as "env path" so Xonsh
prefers the file with extension first.
2015-12-25 14:54:03 +02:00
Anthony Scopatz
0c306e70cf
nice
2015-12-24 10:54:57 -08:00
Anthony Scopatz
6766e18bcc
addes selection options
2015-12-22 15:22:35 -08:00
Anthony Scopatz
9765fae207
mostly there
2015-12-22 14:59:15 -08:00
Anthony Scopatz
256256a9f3
file parsing fixes
2015-12-22 14:18:49 -08:00
Gil Forsyth
dd5f8ec07b
extend naive multiline env in ptk
...
* hitting enter on a single line command that doesn't end in a colon
will simply run that line
* if a line ends in a colon, newline is added and cursor indents
* if previous line is non-empty, enter adds newline at same indentation
level
* if enter is hit and previous line is blank, command block is sent
What doesn't work
-----------------
* backslashes screw everything up
* completion is totally borked -- need to fix up the ptk completer to
only examine the current line that the cursor is on, instead of the
whole "document"
2015-12-22 11:38:34 -05:00
Gil Forsyth
3ca4fa5d05
move multiline keybindings out of shell file
2015-12-22 10:25:56 -05:00
Anthony Scopatz
244cf79c33
started release file
2015-12-21 21:19:49 -08:00
adam j hartz
846b60265b
Merge pull request #578 from scopatz/ptk-hist
...
prompt-toolkit history now reads from xonsh history rather its own custom pickle method.
2015-12-21 17:28:30 -05:00
Anthony Scopatz
72d048359c
remove sequential duplicates from ptk hist
2015-12-21 10:44:25 -08:00
Anthony Scopatz
2c218cc072
more stuff
2015-12-20 15:39:33 -08:00
Gil Forsyth
9a616cd7f5
success closing active prompt instance
...
Need to run:
`cli.current_buffer.accept_action.validate_and_handle(cli, document)`
2015-12-20 18:06:09 -05:00
Gil Forsyth
0b9d3559c3
Merge branch 'master' of https://github.com/scopatz/xonsh into multiline
2015-12-20 16:57:06 -05:00
Anthony Scopatz
9e39b3b4a4
Merge pull request #576 from adqm/env_expand
...
Environment Variable Expansion
2015-12-19 19:35:00 -08:00
adam j hartz
3dcd709c0d
add back replace_env and undo_replace_env
2015-12-19 21:39:43 -05:00
Anthony Scopatz
a30bc80bef
prompt-toolkit history now reads from xonsh history rather its own custom pickle method.
2015-12-19 18:26:37 -08:00
adam j hartz
3ac3b45e7b
use python's eval instead of evalx
2015-12-19 21:22:54 -05:00
adam j hartz
26bd38bbab
update test cases
2015-12-19 21:17:03 -05:00
adam j hartz
9f1e1996d2
remove all replace_env
2015-12-19 20:53:33 -05:00
adam j hartz
8cfbcda6e2
get rid of extra call to replace_env
2015-12-19 20:52:04 -05:00
adam j hartz
affc29c711
use NT expandvars as a base, instead of POSIX
2015-12-19 20:50:39 -05:00
adam j hartz
ff5c6ddecc
capitalization typo
2015-12-19 20:25:27 -05:00
adam j hartz
18a6fa62ea
Merge branch 'env_expand' of https://github.com/adqm/xonsh into env_expand
2015-12-19 20:23:32 -05:00
Anthony Scopatz
fefad23cbd
Merge pull request #577 from adqm/completer_bugfix
...
add slashes to quoted strings with, e.g., ~ in them
2015-12-19 16:54:29 -08:00
adam j hartz
2ff7426800
add slashes to quoted strings with, e.g., ~ in them
2015-12-19 19:29:55 -05:00
adam j hartz
1fe9944d65
never mind giving Windows users a default HOME
2015-12-19 19:21:27 -05:00
adam j hartz
0e24576ede
fix for test cases
2015-12-19 19:16:01 -05:00
adam j hartz
07a8d03284
make environment variable lookup always look at defaults
2015-12-19 19:13:34 -05:00
adam j hartz
a5479a86d3
fix confusing output from boolean variables
2015-12-19 18:55:12 -05:00
adam j hartz
eae1f54610
include default HOME value (so people on Windows have it)
2015-12-19 18:54:56 -05:00
adam j hartz
a5f2b7019e
skip more test cases on windows
2015-12-19 18:44:58 -05:00
adam j hartz
247bd1efbd
be smarter about env var replacement
2015-12-19 18:34:25 -05:00
adam j hartz
f98b911a12
fix regexes for matching env vars for ensurers
2015-12-19 18:34:02 -05:00
adam j hartz
3c487284b4
more test case fiddling
2015-12-19 18:09:06 -05:00
adam j hartz
8299ce49ea
modify expandvars to use the xonsh environment
2015-12-19 17:59:41 -05:00
adam j hartz
f958b8b04a
try to make travis and appveyor autobuilds use quiet mode
2015-12-19 17:31:00 -05:00
adam j hartz
36ba1b14bf
update tests for new aliasing
2015-12-19 17:29:48 -05:00
adam j hartz
2bc5c3b1f1
document environment variable expansion
2015-12-19 17:18:21 -05:00