Gil Forsyth
a0018500c5
add open in editor to prompt_toolkit_shell
...
h/t @jonathanslenders
When using the prompt_toolkit shell, user can press Ctrl-X Ctrl-E to
open the current line in $EDITOR.
Limitations -- it can only open the _current_ line, so if you are
already in a multiline prompt, you can't edit what is already entered in
lines above.
However, you can enter multiline commands in the editor and these are
correctly interpreted by xonsh (assuming correct syntax, etc)
2015-11-11 13:53:24 -05:00
Anthony Scopatz
dd7d761656
modifies source-foriegn to accept code
2015-11-09 00:50:48 -05:00
Anthony Scopatz
0762ff5433
Merge pull request #482 from migueldvb/index
...
Mention where the Arch linux package can be found
2015-11-08 23:13:40 -05:00
Miguel de Val-Borro
d6dc6c08ed
Mention explicitly where the Arch package can be found
2015-11-08 22:32:28 -05:00
Anthony Scopatz
208d8f73e9
Merge pull request #480 from Dundee/master
...
installation of jupyter hook to given destination
2015-11-08 16:15:50 -05:00
Anthony Scopatz
eeaec0d649
Merge pull request #481 from emacs18/master
...
Prevent garbled prompt for shells within emacs
2015-11-08 16:13:57 -05:00
Richard Kim
a604806374
Prevent garbled prompt for shells within emacs
2015-11-08 12:56:15 -08:00
Daniel Milde
c650bc8a2b
installation of jupyter hook to given destination
2015-11-08 21:15:08 +01:00
Anthony Scopatz
0af49af6c4
version 0.2.3 bump
2015-11-06 21:40:52 -05:00
Anthony Scopatz
a764975cd1
Merge branch 'krader1961-negative-history-slices'
2015-11-06 21:29:49 -05:00
Anthony Scopatz
06086d7458
Merge branch 'negative-history-slices' of https://github.com/krader1961/xonsh into krader1961-negative-history-slices
2015-11-06 21:28:53 -05:00
Kurtis Rader
4be4509a2e
Modify the code to comply with the alias API.
2015-11-06 17:38:08 -08:00
Anthony Scopatz
17f52ff3af
Merge branch 'jupyter'
2015-11-06 19:15:32 -05:00
Anthony Scopatz
25cc8fb845
fixed minor conflict
2015-11-06 19:12:33 -05:00
Kurtis Rader
5cc784a721
Correct function names to follow PEP8.
2015-11-06 15:12:33 -08:00
Kurtis Rader
a14a9a6f4d
Correct handling of negative history indexes.
...
Fix the handling of negative history indexes where a slice specification
is involved. Negative indexes not part of a slice specification worked by
accident because the argparse module (see section "16.4.4.3 Arguments
containing --") treats such values as positional arguments (which is a
misfeature of argparse in my opinion). I've also added unit tests for
"history show" to keep this from being broken in the future.
2015-11-05 19:35:41 -08:00
Anthony Scopatz
7a71221c17
Merge branch 'BYK-is_root'
2015-11-05 12:22:23 -05:00
Anthony Scopatz
78cf7e83be
Merge branch 'is_root' of https://github.com/BYK/xonsh into BYK-is_root
2015-11-05 12:21:46 -05:00
Burak Yigit Kaya
0564ec6547
Add equivalent of \$
in bash as prompt_end
...
Adds a new `prompt_end` formatter variable for prompt. The value is `$`
for normal users and `#` for root users.
2015-11-05 20:18:36 +03:00
Anthony Scopatz
6a3345efd1
Merge pull request #472 from scopatz/strexpand
...
call expand_path() in more places
2015-11-04 22:45:19 -05:00
Anthony Scopatz
a5fe1c154c
call expand_path() in more places
2015-11-04 20:29:52 -05:00
Anthony Scopatz
655bfcc33c
Merge pull request #470 from gforsyth/fix_pt_completion
...
set prompt_toolkit completion to trigger on tab
2015-11-04 18:24:28 -05:00
Gil Forsyth
acf478fcbc
set prompt_toolkit completion to trigger on tab
...
prompt_toolkit completion wasn't triggering for command arguments unless
the first letter was entered. now it shows all the options when the
user hits tab, which matches the readline functionality and also the
default behavior in bash, zsh, fish, etc...
2015-11-04 17:57:38 -05:00
Tzu-ping Chung
f36d04a758
Use console_scripts to generate entry point
...
This is better than writing platform-dependant scripts to provide
an entry point. The old way is kept as a fallback when setuptools
is not available.
Reference:
http://python-packaging.readthedocs.org/en/latest/command-line-scripts.html#the-console-scripts-entry-point
2015-11-04 17:40:01 +08:00
Anthony Scopatz
c3a84510a1
Merge pull request #444 from scopatz/win-bat
...
Updated the windows script for command line args
2015-11-04 00:46:05 -05:00
Anthony Scopatz
7e0fc6d42a
Merge branch 'gforsyth-master'
2015-11-03 18:33:00 -05:00
Anthony Scopatz
3552d4b04d
changed AUTO_CD order to not thrash file system as much
2015-11-03 18:32:44 -05:00
Anthony Scopatz
4c4eb2d705
Merge branch 'master' of https://github.com/gforsyth/xonsh into gforsyth-master
2015-11-03 18:29:27 -05:00
Gil Forsyth
e3323169e3
replace recursive subproc call with alias assignment
2015-11-03 16:41:20 -05:00
Gil Forsyth
e858b009cf
add autocd functionality to run_subproc
...
relocated from base_shell.
Checks the following:
$AUTO_CD=True
cmd is a directory
cmd is not in $PATH
no other arguments
If so, it prepends 'cd' and reruns
2015-11-03 16:03:00 -05:00
Gil Forsyth
6ed178446e
add AUTO_CD
to envvars docs
2015-11-03 15:23:25 -05:00
Anthony Scopatz
53a20d1925
Merge pull request #461 from mdraw/completions-display
...
Make prompt_toolkit Python completions configurable
2015-11-03 15:06:47 -05:00
mdraw
7bf7c4686b
Merge branch 'completions-display' of https://github.com/mdraw/xonsh into completions-display
2015-11-03 20:59:26 +01:00
mdraw
4e9290fdb7
Minor cleanups for $COMPLETIONS_DISPLAY handling
2015-11-03 20:56:05 +01:00
Anthony Scopatz
8b63dc1bac
Merge pull request #465 from selepo/win-docs
...
Added info to windows.rst
2015-11-03 14:55:39 -05:00
selepo
432d0ed56b
added info about .xonshrc needed to be created and tips about console emulators to use on windows.
2015-11-03 20:41:32 +01:00
Anthony Scopatz
0b05d27f89
Merge pull request #464 from selepo/master
...
bugfix for install missing scripts/xonsh.bat (windows)
2015-11-03 14:26:34 -05:00
selepo
ffb3608dbf
bugfix for install missing scripts/xonsh.bat (windows)
2015-11-03 19:42:29 +01:00
Gil Forsyth
6b0aee3c8d
add ensurer AUTO_CD
bool and default to False
...
This allows the user to set `$AUTO_CD=True` if they want the auto cd
behavior to trigger, as proposed in https://github.com/scopatz/xonsh/issues/439
2015-11-03 12:31:28 -05:00
Anthony Scopatz
002a61b66b
Merge branch 'fsffi'
2015-11-03 11:40:37 -05:00
mdraw
c4f63ab841
Improve formatting of recent entries in envvars.rst
2015-11-02 17:13:32 +01:00
mdraw
d8252dadf6
Make prompt_toolkit Python completions configurable
...
Completions provided by prompt_toolkit are now configurable
by setting $COMPLETIONS_DISPLAY.
Changing it at runtime will take immediate effect, so you can quickly
disable and enable completions during shell sessions.
Possible values for $COMPLETIONS_DISPLAY are:
- 'none' for no completions,
- 'single' for single-column completions,
- 'multi' for multi-column completions (default).
2015-11-02 16:46:07 +01:00
Anthony Scopatz
3eddfaef9b
some doc updates
2015-11-01 16:52:15 -05:00
Anthony Scopatz
cc291d5c4e
foreign shell aliases seem to work
2015-11-01 16:43:37 -05:00
Anthony Scopatz
34244eabb6
more stuff
2015-11-01 15:08:43 -05:00
Anthony Scopatz
4d515edc61
pieces are there
2015-11-01 14:55:24 -05:00
Anthony Scopatz
81439747ac
some ffi stuff
2015-11-01 14:10:14 -05:00
Anthony Scopatz
0d3ba14711
implements the source-foreign alias and refactors source-bash
2015-10-31 19:37:07 -04:00
Anthony Scopatz
f8e90fef7e
Merge branch 'enc'
2015-10-31 16:34:17 -04:00
Anthony Scopatz
97ed7d25a1
added docs
2015-10-31 14:38:12 -04:00