Commit graph

1856 commits

Author SHA1 Message Date
adam j hartz
df33b6578e document new env var 2015-12-19 17:11:59 -05:00
adam j hartz
b2f8fa8e74 expand env vars inside of aliases (#338) 2015-12-19 17:10:47 -05:00
adam j hartz
0f50234dc9 new env var to toggle expansion of env vars in strings 2015-12-19 17:10:20 -05:00
Anthony Scopatz
cc59769816 Merge branch 'adqm-completer' 2015-12-18 19:57:32 -05:00
adam j hartz
abe1e32076 add test for check_for_partial_string 2015-12-18 15:30:46 -05:00
adam j hartz
f179c6b525 windows fixes 2015-12-18 15:06:13 -05:00
adam j hartz
eb12db1b4e refactor quoting of paths 2015-12-18 14:56:57 -05:00
adam j hartz
95ce8ee18f complete on end of quotes as well 2015-12-18 14:31:48 -05:00
adam j hartz
6c0c00bd14 decode using xonsh_encoding and xonsh_encoding_errors 2015-12-18 12:13:20 -05:00
adam j hartz
d294867051 workaround for readline completion deleting too many things 2015-12-18 12:09:21 -05:00
adam j hartz
410b88446a swap order of return values in Completer, modify docstring 2015-12-18 12:06:29 -05:00
adam j hartz
ded0863990 remove unnecessary import 2015-12-17 22:21:27 -05:00
adam j hartz
ba36964ed1 first step toward raw string handling 2015-12-17 10:36:03 -05:00
adam j hartz
07a9a650f0 fix bug with string start regex not including leading chars 2015-12-17 10:35:38 -05:00
adam j hartz
31aad01153 docstrings for string regexes and check_for_partial_string 2015-12-17 10:04:55 -05:00
adam j hartz
78715b9bfb refactor partial string finding 2015-12-17 09:51:17 -05:00
adam j hartz
d06e702be3 use ast.literal_eval instead of plain eval for strings 2015-12-15 06:37:20 -05:00
adam j hartz
08dabd2dd0 pre-compile some regexes 2015-12-15 06:34:03 -05:00
adam j hartz
20bf953d64 use get_sep instead of hard-coding a slash 2015-12-14 22:58:11 -05:00
adam j hartz
a219009b2a don't insert a space when there is an ending quote 2015-12-14 22:52:30 -05:00
adam j hartz
c99ce807da hack to make completer almost work on readline 2015-12-14 22:20:44 -05:00
adam j hartz
509df99466 update string finding to use new function 2015-12-14 21:30:08 -05:00
adam j hartz
0f027cd476 some string finding stuff 2015-12-14 21:22:08 -05:00
adam j hartz
35bf1d77aa a couple of bugfixes (empty string, etc) 2015-12-14 17:52:09 -05:00
adam j hartz
754e638c08 preserve input quoting, rather than always using single quotes 2015-12-14 17:33:03 -05:00
adam j hartz
775e3c37a1 update prompt toolkit completer to accommodate new strings thing 2015-12-14 15:41:06 -05:00
adam j hartz
410c6e62e4 update completer to do a better job with strings 2015-12-14 15:40:47 -05:00
adam j hartz
fd992260bb just in case, for some reason, 'sudo time something' 2015-12-14 11:43:23 -05:00
Anthony Scopatz
795929ff0b Merge branch 'adqm-351' 2015-12-11 18:33:04 -05:00
adam j hartz
1fe64cd2d9 also fix for lambda args 2015-12-11 18:13:49 -05:00
adam j hartz
f8334a76b7 ast.arg needs lineno and col_offset in 3.5.1 2015-12-11 17:39:08 -05:00
adam j hartz
58e589d8da add some more version info to tools 2015-12-11 17:29:09 -05:00
Anthony Scopatz
846554ac9d Merge pull request #568 from gforsyth/completion_tweak
add `man` to completion skip tokens
2015-12-08 11:31:03 -05:00
Gil Forsyth
532480988b add man to completion skip tokens
Just a quick addition to allow tab completion when opening man pages
2015-12-08 11:25:57 -05:00
Anthony Scopatz
a567734e7b Merge pull request #564 from adqm/get_sep
Use get_sep function instead of repeating code
2015-12-07 23:24:23 -05:00
Anthony Scopatz
5dc5d192c5 Merge pull request #567 from adqm/xonsh_shell
Be more careful about __xonsh_shell__ (potential fix for #566)
2015-12-07 20:44:37 -05:00
adam j hartz
4ee496e5b3 potential fix for #566 2015-12-07 20:21:37 -05:00
adam j hartz
15f33e2d48 merge from master 2015-12-07 19:43:53 -05:00
adam j hartz
92985818b5 modify _collapsed_pwd to use tools.get_sep 2015-12-06 13:55:02 -05:00
Anthony Scopatz
8a5304b706 Merge pull request #562 from adqm/executable_title
include the command being run in the default title
2015-12-05 20:12:48 -05:00
adam j hartz
71f0f69ce4 ignore 'sudo' in command name 2015-12-05 18:49:04 -05:00
adam j hartz
4d9024d9f6 don't try to update title based on current command if we're storing stdout 2015-12-05 18:44:19 -05:00
Anthony Scopatz
3c9a173553 Merge pull request #561 from gforsyth/completion_wrap
Bash Completer $XONSH_TOKEN wrapping
2015-12-05 18:32:54 -05:00
Gil Forsyth
75672be2d2 add get_sep to tools and use in completionwrap 2015-12-05 18:25:25 -05:00
adam j hartz
5c6cfba70e Merge branch 'executable_title' of https://github.com/adqm/xonsh into executable_title 2015-12-05 16:28:27 -05:00
adam j hartz
6d2d5e030b small bit of documentation for current_job 2015-12-05 15:37:00 -05:00
adam j hartz
07176d664d update tests to have __xonsh_shell__ 2015-12-05 15:32:38 -05:00
adam j hartz
0c132528c4 fix for failing import tests? 2015-12-05 13:58:54 -05:00
adam j hartz
0a46ebf54f include the command being run in the title 2015-12-05 13:39:31 -05:00
Gil Forsyth
09702594a1 move completion wrap expression to separate function 2015-12-05 12:37:56 -05:00