Anthony Scopatz
b251e402a7
Merge pull request #3274 from con-f-use/master
...
Correct completer tutorial
2019-08-25 13:19:39 -04:00
con-f-use
4b26928973
Update correct_completer_tutorial.rst
2019-08-18 14:56:50 +02:00
con-f-use
7ef79eb169
News item for completer tutorial fix
2019-08-18 14:46:51 +02:00
Gil Forsyth
e4fada56b0
Allow logical operators within aliases
...
This fixes #3270 and logical operators within aliases now resolve correctly.
I've added in `&&`, `||`, `and`, and `or`
```
(base) ~/githu/xonsh/xonsh logical_op_aliases $ aliases['echocat'] = 'echo "hi" and echo "there"'
(base) ~/githu/xonsh/xonsh logical_op_aliases $ echocat
hi
there
(base) ~/githu/xonsh/xonsh logical_op_aliases $ aliases['echocat'] = 'echo "hi" or echo "there"'
(base) ~/githu/xonsh/xonsh logical_op_aliases $ echocat
hi
(base) ~/githu/xonsh/xonsh logical_op_aliases $ aliases['echocat'] = 'echo "hi" && echo "there"'
(base) ~/githu/xonsh/xonsh logical_op_aliases $ echocat
hi
there
(base) ~/githu/xonsh/xonsh logical_op_aliases $ aliases['echocat'] = 'echo "hi" || echo "there"'
(base) ~/githu/xonsh/xonsh logical_op_aliases $ echocat
hi
```
2019-08-16 15:17:31 -04:00
Anthony Scopatz
59a042010f
Updated CHANGELOG for 0.9.10
2019-08-09 17:11:08 -04:00
Anthony Scopatz
5f30593dfe
target color
2019-08-06 14:39:11 -04:00
László Vaskó
cfc8764b2c
command-not-found: look up in PATH instead of using hard-coded location
...
Motivation: command-not-found is available on a different location under
NixOS.
2019-08-02 17:45:03 +02:00
Anthony Scopatz
65fea7dda8
Merge pull request #3200 from virusbb001/3182-fix-cat-proc-file
...
Fix `cat` can't read pseudo files with zero size
2019-07-23 11:44:06 -04:00
Alexander Steffen
2e94e6d9ef
Allow disabling individual items in gitstatus prompt
...
Setting $XONSH_GITSTATUS_* to an empty string lead to the number of files
still being displayed, without any way to see to which category those
belonged. It might even display "11", which could be "1 changed file" and
"1 staged file" or "11 staged files".
Changing the logic to hide the entire entry if the corresponding
$XONSH_GITSTATUS_* setting is empty allows for an easy way to disable some
of the categories.
2019-07-21 20:49:54 +02:00
Anthony Scopatz
7d20546a98
Merge pull request #3184 from 6syun9/add_ref_interval
...
Add $PROMPT_REFRESH_INTERVAL
2019-07-20 01:29:44 -04:00
Anthony Scopatz
83ba128f19
Updated CHANGELOG for 0.9.9
2019-07-19 18:13:20 -04:00
Anthony Scopatz
80dd84f613
Merge pull request #3220 from webmeister/subprocess-help
...
Try to open man page as help for subprocess commands
2019-07-19 17:38:46 -04:00
Anthony Scopatz
bcf65b7ac4
Merge branch 'master' into add_ref_interval
2019-07-19 15:54:58 -04:00
Anthony Scopatz
bc01936bed
Merge pull request #3185 from 6syun9/add_async_comp
...
add $COMPLETION_IN_THREAD
2019-07-19 15:52:09 -04:00
Anthony Scopatz
552d038f56
Merge pull request #3210 from webmeister/get_next_task
...
Avoid stale data when determining active tasks
2019-07-14 17:37:12 -05:00
Anthony Scopatz
bbbea54051
Merge pull request #3217 from xonsh/proxy_cleanup
...
Cleaned up proxy loading and unloading.
2019-07-14 17:33:59 -05:00
Anthony Scopatz
6f6b1086c7
Merge pull request #3219 from xonsh/vi_mode_enter
...
Fix behavior of enter key in VI_MODE
2019-07-14 17:08:39 -05:00
Anthony Scopatz
d4b38e3156
Merge pull request #3228 from xonsh/inpsect
...
Inpsect
2019-07-14 15:50:04 -05:00
Gil Forsyth
d9986e4ef1
Merge pull request #3213 from ke-zhang-rd/update-predict-list
...
MNT: Add several command to predict list
2019-07-14 16:37:05 -04:00
Gil Forsyth
6f909cbf7f
Reset filename in execer between executions
2019-07-14 16:19:35 -04:00
Alexander Steffen
5457ac1c94
Try to open man page as help for subprocess commands
...
This makes for example 'sh?' equivalent to 'man sh', unless there actually
exists a 'sh?' executable.
Resolves #3204 .
2019-07-14 12:38:14 +02:00
Gil Forsyth
f4f82903b5
Fix behavior of enter key in VI_MODE
2019-07-13 18:36:41 -04:00
Alexander Steffen
79780d8129
Avoid stale data when determining active tasks
...
Two of the three callers of get_next_task already called _clear_dead_jobs
to update the task state before searching for active tasks.
xonsh.prompt.job._current_job did not call _clear_dead_jobs, which lead to
tasks still being displayed in the title, even though they had already
finished.
Moving the call to _clear_dead_jobs into get_next_task ensures that it
always returns correct data.
2019-07-13 23:27:00 +02:00
David Dotson
62cc81280b
Merge branch 'master' into proxy_cleanup
2019-07-13 16:23:21 -05:00
David Dotson
1349b6eb51
Fixes to news file
2019-07-13 16:15:54 -05:00
David Dotson
3f87a09034
Cleaned up proxy loading and unloading.
...
Also removed `DeprecationWarningProxy`, as it is no longer needed.
2019-07-13 16:11:18 -05:00
David Dotson
8576e9c22e
Merge pull request #3211 from xonsh/fix_DAP_completion
...
Add `__dir__` to `DynamicAccessProxy`
2019-07-13 13:36:33 -07:00
ke-zhang-rd
e3a92ee309
MNT: Add several command to predict list
2019-07-13 14:24:33 -05:00
Daniel Smith
df96df8b3c
Remove deprecated __xonsh__ mappers
2019-07-13 11:29:19 -05:00
Gil Forsyth
19856ee258
Add __dir__
to DynamicAccessProxy
...
This restores tab-completion to objects proxied through
DynamicAccessProxy
2019-07-13 12:13:48 -04:00
Anthony Scopatz
7c58c8222d
Updated CHANGELOG for 0.9.8
2019-07-07 20:19:21 -05:00
virus
917345b4ed
add news file
2019-07-06 01:37:36 +09:00
Anthony Scopatz
312e448f41
remove newlines
2019-07-01 19:41:54 -04:00
vaaaaanquish
065df1b8df
add COMPLETION_IN_THREAD
2019-06-30 01:18:00 -07:00
vaaaaanquish
5ac397ddf2
set default None
2019-06-29 23:49:41 -07:00
vaaaaanquish
b8b2c4b08e
add rst
2019-06-29 22:39:26 -07:00
Anthony Scopatz
a241538599
Updated CHANGELOG for 0.9.7
2019-06-28 17:30:35 -04:00
Anthony Scopatz
6efa41eec1
xontrib-kitty
2019-06-28 16:26:04 -04:00
Gil Forsyth
9599008918
Merge pull request #3174 from xonsh/bash-comp-0.2.6
...
Bash comp 0.2.6
2019-06-22 08:24:15 -04:00
Anthony Scopatz
8c173facfa
Merge pull request #3170 from astronouth7303/xontrib-zipapp
...
Xontrib zipapp support
2019-06-19 17:33:11 -04:00
Anthony Scopatz
aa8e66b180
news
2019-06-19 15:02:02 -04:00
Morten Enemark Lund
f08a05ba3a
Merge pull request #3166 from 6syun9/dev_warning
...
completer turn off warning
2019-06-17 22:09:04 +02:00
Jamie Bliss
ed52b8b0df
Add news item
2019-06-17 14:48:36 -04:00
6syun9
75e354f8fa
add xontrib-readable-traceback
2019-06-16 14:24:39 +09:00
6syun9
f325baae9c
Merge remote-tracking branch 'master' into dev_warning
2019-06-15 11:00:03 +09:00
Anthony Scopatz
c3f62e32fb
Merge pull request #3162 from 6syun9/dev_syun
...
Fix completer error
2019-06-14 12:27:18 -04:00
6syun9
24924e440c
add rst
2019-06-14 22:54:42 +09:00
con-f-use
1d44d6bf23
Newsitem for Alt+. binding
2019-06-12 19:57:21 +02:00
6syun9
06e9f8826f
add rst
2019-06-12 20:54:38 +09:00
Anthony Scopatz
eb5e53d582
Updated CHANGELOG for 0.9.6
2019-06-10 14:07:07 -04:00