Commit graph

1459 commits

Author SHA1 Message Date
Anthony Scopatz
c2cd870bb6 Some minor cleanup 2015-10-19 19:59:29 -04:00
Jonathan Slenders
880ada8052 Correctly handle 'tab' key binding. 2015-10-20 03:37:55 +02:00
Anthony Scopatz
835c558d1f Merge pull request #427 from gforsyth/master
fix prompt_toolkit tab behavior on blank line
2015-10-19 18:50:56 -05:00
Gil Forsyth
dd0e8dff34 fix prompt_toolkit tab behavior on blank line 2015-10-19 16:04:32 -04:00
Jonathan Slenders
956a6202b5 Only generate completions when the user typed not a tab. 2015-10-18 21:09:54 +02:00
mdraw
3961310418 Made prompt_toolkit's mouse_support optional
Introducing a new environment variable MOUSE_SUPPORT for this,
which can either be True or False. Default is False.
2015-10-18 21:09:51 +02:00
Jonathan Slenders
781f1b5f97 Make aborted text (on Ctrl-C) gray. 2015-10-18 21:01:48 +02:00
Jonathan Slenders
9100db9a3c Added auto-suggestion and mouse support. 2015-10-18 21:01:48 +02:00
Anthony Scopatz
641a767174 Merge branch 'csattr' 2015-10-16 11:03:41 -04:00
Anthony Scopatz
b2062c8e83 fixed attr cases sensitive completion 2015-10-16 10:50:18 -04:00
Anthony Scopatz
b918915e52 version bump 2015-10-12 11:17:07 -04:00
Anthony Scopatz
31f9636646 hot fix for environ 2015-10-12 11:16:02 -04:00
Anthony Scopatz
30ea4a557f some doc fixes. 2015-10-12 00:45:03 -04:00
Anthony Scopatz
d7124b7723 version bump 2015-10-12 00:35:42 -04:00
Anthony Scopatz
d9e2c0fbf1 Merge branch 'master' of github.com:scopatz/xonsh 2015-10-12 00:24:59 -04:00
Anthony Scopatz
bcd9f0cce0 Merge branch 'teepipe' 2015-10-12 00:24:35 -04:00
Anthony Scopatz
ca7027414c fixed typo 2015-10-12 00:22:28 -04:00
Anthony Scopatz
f4a99a15e0 Merge pull request #415 from rgaiacs/remove-future
Remove from __future__ import
2015-10-12 00:20:54 -04:00
Raniere Silva
07faad02b9 Remove from __future__ import
Python > 3.4 is required so no need for __future__.
2015-10-12 00:58:52 -03:00
Anthony Scopatz
6d2fecb3a1 defaults and docs 2015-10-11 14:23:30 -04:00
Anthony Scopatz
84fb672c61 added most of teepty delay 2015-10-11 14:01:15 -04:00
Anthony Scopatz
e78564b168 minor bug fix when not reading in xonshrc 2015-10-11 11:02:00 -04:00
Anthony Scopatz
502bce87ff minor fixes from review 2015-10-11 10:51:26 -04:00
Anthony Scopatz
4b4d191936 more changes 2015-10-10 23:22:36 -04:00
Anthony Scopatz
bc1a54c1e6 hooked up aliases 2015-10-10 22:41:51 -04:00
Anthony Scopatz
a13773d237 have environment hookups 2015-10-10 22:34:30 -04:00
Anthony Scopatz
1f3fce8296 Merge branch 'fix-bash-aliases' of https://github.com/auscompgeek/xonsh into foreignsh 2015-10-10 20:45:18 -04:00
Anthony Scopatz
1e24bbb2ed added tests for foreign shells 2015-10-10 19:52:53 -04:00
David
06200c96f3 aliases: fix linter warnings
There are a couple more PEP8 violations around here,
but I'll leave those for another day.
2015-10-11 10:47:40 +11:00
Anthony Scopatz
62624e43a3 initial foreign shell trial 2015-10-10 19:04:43 -04:00
Anthony Scopatz
fa54a2abbc Merge branch 'fix-bash-aliases' of https://github.com/auscompgeek/xonsh into foreignsh 2015-10-10 18:00:17 -04:00
Anthony Scopatz
f5f7dba02c many updates 2015-10-10 16:45:02 -04:00
Anthony Scopatz
ad0b084f2b base shell updates 2015-10-10 15:59:51 -04:00
Anthony Scopatz
faea423d3b some updates 2015-10-10 15:53:38 -04:00
Anthony Scopatz
67bdf05b14 some doc rearrangements 2015-10-10 15:35:54 -04:00
Anthony Scopatz
aa64655666 more default changes 2015-10-10 15:20:51 -04:00
Anthony Scopatz
eaf96afb3c more environ updates 2015-10-10 15:10:34 -04:00
Anthony Scopatz
6e33f7a80d shell type fixes 2015-10-10 14:51:28 -04:00
Anthony Scopatz
0328dea45d moved some defaults around 2015-10-10 14:39:50 -04:00
Anthony Scopatz
be127b3a07 Merge branch 'BYK-fix-type-error' 2015-10-10 13:06:14 -04:00
Anthony Scopatz
338769c163 line ending fixes 2015-10-10 13:05:19 -04:00
Anthony Scopatz
9f7988ed51 Merge branch 'fix-type-error' of https://github.com/BYK/xonsh into BYK-fix-type-error 2015-10-10 12:49:11 -04:00
David
a3393c6136 aliases: bash_aliases: stop spawning login shells
There should be no need to run a login shell to get aliases.
Any self-respecting bash user wouldn't set aliases in their .profile.
2015-10-11 00:49:37 +11:00
David
1387573c12 aliases: make bash_aliases() more robust
* Call bash with `-c alias` rather than passing `alias` through stdin.

* Check each alias read in is really an alias, to make doubly-sure we
  don't get garbage in our aliases.

Fixes: #204
2015-10-11 00:28:56 +11:00
Anthony Scopatz
07bdfd4cc2 Merge pull request #407 from adamheins/master
Fix typo in tutorial doc.
2015-10-06 23:39:20 -04:00
adamheins
8ec632f2a6 Fix typo in tutorial doc. 2015-10-06 18:18:25 -07:00
Burak Yigit Kaya
3bcc38b447 Fix invalid lexer type error
Anything stored in `env` is always cast to string so remove
`HIGHLIGHTING_LEXER` variable since it is directly passed to
prompt_toolkit and it is always a string when restoring from `env`
causing `prompt_toolkit` to throw an error because it expects a `Lexer`
instance.
2015-10-06 11:40:27 +03:00
Anthony Scopatz
8d6925f86e Merge branch 'BYK-fix-bash-quotes' 2015-10-05 18:20:40 -04:00
Burak Yigit Kaya
3a0dfcc87a Fix bash completions failing when using double quotes
When using a command with a `"` in it, `bash_complete` was throwing an
uncaught exception. This patch both catches the exception and escapes
the values passed properly to avoid errors.
2015-10-06 00:08:21 +03:00
Anthony Scopatz
652f333310 Merge pull request #397 from scopatz/pep495
Implements Pep492
2015-10-04 12:43:27 -04:00