Commit graph

8437 commits

Author SHA1 Message Date
Caleb Hattingh
16edba8fe8 Apply abspath() to the env_dir, and add a test to verify. 2019-08-04 12:20:04 +10:00
Caleb Hattingh
3e79a958c7 Add xontrib/ to coverage 2019-08-04 12:19:05 +10:00
Caleb Hattingh
b89bada694 Trying to solve the test_news failure. 2019-08-03 12:43:17 +10:00
Caleb Hattingh
287eb5a9af Fix news file to be valid *.rst 2019-08-03 12:37:23 +10:00
Caleb Hattingh
ce6a861558 Update news and AUTHORS 2019-08-03 12:32:02 +10:00
Caleb Hattingh
2c4b64ad16 vox activate - use absolute path in $PATH 2019-08-03 12:11:22 +10:00
David Strobach
1b3cbeecff
Merge pull request #3249 from vlaci/command-not-found
command-not-found: look up in PATH instead of using hard-coded location
2019-08-02 17:53:29 +02: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
David Strobach
adf528f25b
Merge pull request #3238 from chengxuncc/patch-1
remove landscape badge
2019-07-29 18:06:58 +02:00
chengxuncc
acaddd65df
remove landscape badge 2019-07-28 22:19:49 -04: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
virus
585a0e4d24 restore while condition 2019-07-24 00:27:50 +09:00
Anthony Scopatz
cc006157f4
Merge pull request #3230 from xonsh/precommit
precommit
2019-07-22 15:47:10 -04:00
Anthony Scopatz
3bf38df01c Merge branch 'precommit' of github.com:xonsh/xonsh into precommit 2019-07-22 15:30:11 -04:00
Anthony Scopatz
952c74963f version black in precommit 2019-07-22 15:29:58 -04:00
Anthony Scopatz
47faf047ce
Merge pull request #3222 from webmeister/gitstatus
Allow disabling individual items in gitstatus prompt
2019-07-22 13:22:39 -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
Gil Forsyth
f5f3893211
Update travis.yml for new req file path 2019-07-20 08:42:14 -04: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
1e49895367 bumped version to 0.9.9 2019-07-19 18:13:20 -04:00
Anthony Scopatz
321d609e35 Updated authorship for 0.9.9 2019-07-19 18:13:20 -04:00
Anthony Scopatz
5aac871140 more authors 2019-07-19 17:43:33 -04:00
Anthony Scopatz
5941f32540 authors update 2019-07-19 17:42:33 -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
88d239d976 black not available on 3.5 2019-07-19 17:30:34 -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
9310fbd301
Merge pull request #3221 from webmeister/remove-unused-files
Remove unused files
2019-07-14 17:29:55 -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
Anthony Scopatz
858f593f06 some fixes for inspect 2019-07-14 15:05:41 -05: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
Alexander Steffen
984403dce1 Remove unused files
Fixes #3214.
2019-07-14 07:16:46 +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
Sean Farley
ec3d2ca8ad git: add pre-commit dependency
This also adds documentation for how to install this git pre-commit hook
which will run black before committing. The only downside to doing that
is the, perhaps confusing, initial run which will clone the black
repository before a dev's first commit.

Running on the command-line will be quite obvsious since the default
output shows what pre-commit is doing. But running in a gui or
editor (e.g. magit) will hide that. Viewer discretion is advised.
2019-07-13 15:44:23 -05:00
Sean Farley
b570b50836 python: add black to test dependencies
This adds black to the contributing guide as well.
2019-07-13 15:44:23 -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
e187103ead
Update xonsh/commands_cache.py
Thanks

Co-Authored-By: Gil Forsyth <gforsyth@users.noreply.github.com>
2019-07-13 15:05:01 -05:00
David Dotson
d14eb76d7c
Merge pull request #3212 from dgasmith/xonsh_dunder
Remove deprecated __xonsh__* mappers
2019-07-13 12:49:35 -07:00
David Dotson
512bf08612 Removed events from unload list; looks fine but will pursue in separate PR 2019-07-13 14:37:13 -05:00
ke-zhang-rd
e3a92ee309 MNT: Add several command to predict list 2019-07-13 14:24:33 -05:00