Commit graph

382 commits

Author SHA1 Message Date
Alexandre Ferland
4a6d1017fa change_update
Set the value instead of update().
2015-03-18 20:32:18 -04:00
Alexandre Ferland
cc143e28dc check if oldpwd exists
I use get() as you suggested now to check if OLDPWD exist before attempting to use it. At the same, I just use update() on the keys now instead of the previous builtins.__xonsh_env__[key] = value, thought it looks cleaner that way.
2015-03-17 11:22:50 -04:00
Alexandre Ferland
ca60a170a2 Update aliases.py
Move update to OLDPWD down so we don't overwrite it accidentally.
2015-03-16 23:54:27 -04:00
admiralobvious
b4179c1dc6 update oldpwd when using cd
The cd alias now updates $OLDPWD and also checks if the argument is a
‘-‘ (single dash) and cd to $OLDPWD if it is. Based on bash’s cd
behaviour. http://ss64.com/bash/cd.html
2015-03-16 23:33:04 -04:00
Anthony Scopatz
1e34c2b3a3 Merge branch 'wrywerytwreywery-autocomplete_quote' 2015-03-16 20:39:44 -05:00
Anthony Scopatz
1bd58416b3 Merge branch 'autocomplete_quote' of https://github.com/wrywerytwreywery/xonsh into wrywerytwreywery-autocomplete_quote 2015-03-16 20:27:49 -05:00
adam j hartz
350e0b9813 first attempt: modify completer to add quotes where necessary 2015-03-16 21:13:53 -04:00
Anthony Scopatz
70c7d9399d Merge branch 'naufraghi-patch-2' 2015-03-16 19:41:05 -05:00
Anthony Scopatz
32379aa060 Merge branch 'patch-2' of https://github.com/naufraghi/xonsh into naufraghi-patch-2 2015-03-16 19:38:41 -05:00
Anthony Scopatz
6f5da3d013 quit aliases exit 2015-03-16 18:18:18 -05:00
Matteo Bertini
3859096681 Propagate SyntaxError message in exec-ing .xonshrc to the user 2015-03-16 17:19:21 +01:00
Anthony Scopatz
f5c810fe9b Merge pull request #52 from juanpabloaj/travis
a first approach to a travis file
2015-03-15 22:12:53 -05:00
Anthony Scopatz
6d1e3fce1f Merge pull request #53 from juanpabloaj/gitignore
parser_test_table.py to gitignore
2015-03-15 22:02:40 -05:00
JuanPablo
e0e52d4271 parser_test_table.py to gitignore 2015-03-15 23:40:52 -03:00
JuanPablo
dd20e41e65 a first approach to a travis file
* to run tests with travis-ci.org
* prerun test, pip install ply and nosetests
* discover and run test with nosetests
2015-03-15 23:37:21 -03:00
Anthony Scopatz
3c2b3ecf65 Merge pull request #51 from juanpabloaj/gitignore
gitignore: lexer_table and parser_table added
2015-03-15 21:22:09 -05:00
JuanPablo
870c670115 gitignore: lexer_table and parser_table added 2015-03-15 23:18:55 -03:00
Anthony Scopatz
7941d8c8c3 Merge pull request #50 from juanpabloaj/gitignore
*.egg to gitignore
2015-03-15 21:09:48 -05:00
JuanPablo
0b21df8b94 *.egg to gitignore 2015-03-15 23:05:07 -03:00
Anthony Scopatz
217cde293a added missing distutil imports 2015-03-15 20:48:13 -05:00
Anthony Scopatz
a587a1719d version bump to v0.1.2 2015-03-15 18:42:58 -05:00
Anthony Scopatz
714864c68b Merge branch 'pathglob' 2015-03-15 17:59:15 -05:00
Anthony Scopatz
f32168dedb completer for paths 2015-03-15 17:55:42 -05:00
Anthony Scopatz
71bb14c385 partial fix for globbing 2015-03-15 17:48:15 -05:00
Anthony Scopatz
453604e56e Merge branch 'katrielalex-patch-1' 2015-03-15 17:31:57 -05:00
Anthony Scopatz
416cca6e10 start of glob fixes 2015-03-15 17:30:45 -05:00
Katriel Cohn-Gordon
dbabd223e6 Add a #coding declaration to setup.py
Python2 won't even parse Unicode files without a #coding declaration, because it assumes ascii.

This way, at least you get a sane error (`xonsh currently requires Python 3.4+`).
2015-03-15 22:26:26 +00:00
Anthony Scopatz
03989f942a Merge pull request #43 from mbollmann/prompt-documentation
Prompt documentation (for #31)
2015-03-15 16:18:21 -05:00
Marcel Bollmann
f4e908b635 Tutorial text for auto-formatted prompt string 2015-03-15 15:11:19 +01:00
Marcel Bollmann
df2ad6200b Reformatted docstring for nicer Sphinx output 2015-03-15 14:43:15 +01:00
Anthony Scopatz
2a4d126e68 fix for white-space only input in interactive mode 2015-03-15 02:02:58 -05:00
Anthony Scopatz
c1ba1c502c bug fix for indented ctx sensitive parsing 2015-03-15 01:29:25 -05:00
Anthony Scopatz
9cf2c9b26c Merge branch 'wrywerytwreywery-vt_prompt' 2015-03-15 01:12:08 -05:00
adam j hartz
01171a8e3d no need to rename PROMPT 2015-03-15 02:00:52 -04:00
adam j hartz
de3e4be3c2 don't bother setting PROMPT 2015-03-15 01:57:29 -04:00
adam j hartz
2e9a8624a8 Second attempt at fixing #34
Fix the issue with the repr of a Python function being used as a prompt.
2015-03-15 01:44:07 -04:00
Anthony Scopatz
42abad5e6d Merge branch 'wrywerytwreywery-command' 2015-03-15 00:03:10 -05:00
Anthony Scopatz
faf4b31a77 Merge branch 'command' of https://github.com/wrywerytwreywery/xonsh into wrywerytwreywery-command 2015-03-15 00:01:48 -05:00
Anthony Scopatz
d7f704f23e Merge branch 'wrywerytwreywery-multiline_bugfix' 2015-03-14 23:56:23 -05:00
Anthony Scopatz
c5b4cacdab Merge branch 'multiline_bugfix' of https://github.com/wrywerytwreywery/xonsh into wrywerytwreywery-multiline_bugfix 2015-03-14 23:53:23 -05:00
Anthony Scopatz
90b4eb6794 Merge branch 'wrywerytwreywery-title' 2015-03-14 23:50:17 -05:00
Anthony Scopatz
aaca47a1ea PEP8 space after comma 2015-03-14 23:49:45 -05:00
Anthony Scopatz
cc6bb96f39 Merge branch 'title' of https://github.com/wrywerytwreywery/xonsh into wrywerytwreywery-title 2015-03-14 23:46:48 -05:00
Anthony Scopatz
a61e8e0709 Merge branch 'sl' 2015-03-14 23:38:55 -05:00
adam j hartz
f31484cf4c change default title, and use format_prompt on the title 2015-03-15 00:01:07 -04:00
adam j hartz
0f5e4b2d25 make use of argparse 2015-03-14 22:51:26 -04:00
adam j hartz
61133a9720 command mode with -c 2015-03-14 22:23:07 -04:00
adam j hartz
078fa8a91f bugfix for multiline prompt (given the updates from #31) 2015-03-14 19:25:46 -04:00
adam j hartz
1064179f5a only try to update terminal title in a virtual terminal 2015-03-14 17:19:58 -04:00
Anthony Scopatz
d84140e1cd Merge branch 'wrywerytwreywery-title' 2015-03-14 15:26:27 -05:00