Commit graph

8446 commits

Author SHA1 Message Date
László Vaskó
72f7b7e848 command-not-found: fix lookup of command-not-found in Ubuntu
The last change in #3249 has introduced a regression as
command-not-found does not reside on the $PATH on Ubuntu systems.

Additionally `CommandsCache` is introduced instead of `shutil.which` to
cache the result of $PATH lookup.
2019-08-07 18:31:57 +02:00
David Strobach
8fde5da263
Merge pull request #3258 from rindeal/patch-2
revamp COMPLETION_IN_THREAD VarDoc
2019-08-07 10:22:10 +02:00
David Strobach
8d45362031
Merge pull request #3259 from rindeal/patch-3
fix XONSH_DATETIME_FORMAT VarDoc formatting
2019-08-07 10:19:27 +02:00
Jan Chren
4c92d13bfd
fix XONSH_DATETIME_FORMAT VarDoc formatting 2019-08-06 23:58:45 +00:00
Jan Chren
f1a4d778f8
revamp COMPLETION_IN_THREAD VarDoc
- fix typos
- fix formatting
- re-word
2019-08-06 22:32:30 +00:00
David Strobach
aae977c407
Merge pull request #3254 from rindeal/patch-1
fix typo
2019-08-06 18:40:51 +02:00
Jan Chren
a5e3fcc28a
fix typo 2019-08-06 16:38:28 +00:00
Anthony Scopatz
eb4a74687c
Merge pull request #3252 from NilsIrl/patch-1
Clarify man-page parsing feature
2019-08-05 17:58:41 -04:00
Anthony Scopatz
d6f893c0c6
Merge pull request #3242 from xonsh/sphinx2
Fix admonitions in docs
2019-08-05 17:46:36 -04:00
Nils ANDRÉ-CHANG
4d7d3c235f
Clarify man-page parsing feature 2019-08-05 22:03:44 +01:00
Morten Enemark Lund
06a6b44f51 Merge remote-tracking branch 'remotes/origin/master' into sphinx2 2019-08-05 21:12:52 +02:00
Morten Enemark Lund
8cada479d4 Add fix to description lists 2019-08-05 10:44:22 +02: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
Morten Enemark Lund
98a62c492c Workaround a problem with cloud_theme and sphinx2
This fixes a problem with sphinx and the cloud theme. Sphinx 2 adds <p> elements
in the tables and lists, which causes the theme to look werid.
2019-07-31 14:47:45 +02:00
Morten Enemark Lund
4c639beb89 Black formatting 2019-07-31 12:58:00 +02:00
Morten Enemark Lund
22bb5718ae Fix admonitions with sphinx 2.0 2019-07-31 12:55:17 +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