Commit graph

1773 commits

Author SHA1 Message Date
a
fb08e3f747 Removed "Register typed environment variables" 2020-10-08 00:01:46 +03:00
Marius van Niekerk
e64628a716
Don't modify detyped environment 2020-10-07 16:16:08 -04:00
cafehaine
844ec0084b Add an optional message to the deprecation warning 2020-10-07 21:57:21 +02:00
Marius van Niekerk
3c4b40b31e
Prevent loging git when building prompt
Set GIT_OPTIONAL_LOCKS=0 to prevent locking a git repo when updating the prompt.
2020-10-07 15:19:19 -04:00
a
cd4e69ae51 bump my lovely macos tests 2020-10-07 19:38:42 +03:00
a
04df5c75ad env path 2020-10-07 19:22:02 +03:00
a
eb12f95976 More stable exception handling in the completer. 2020-10-07 18:28:11 +03:00
a
d6e6cb83e3 vscode and vim editors 2020-10-07 15:00:33 +03:00
a
a33310f9ab If you still have concerns about the determination process... 2020-10-07 14:15:00 +03:00
Anthony Scopatz
68993e4b3d
Merge pull request #3817 from anki-code/printx
Added printx to builtins
2020-10-06 15:25:20 -05:00
a
81a03b39f8 Merge branch 'master' of https://github.com/xonsh/xonsh into no_welcome_norc 2020-10-06 22:43:36 +03:00
a
4d6ec7337b news 2020-10-06 22:36:06 +03:00
a
dea51e7669 news 2020-10-06 22:25:30 +03:00
a
178d13be66 news 2020-10-06 03:29:35 +03:00
a
fc1a1ee018 bump tests 2020-10-06 03:24:00 +03:00
a
fdb3c9b656 news 2020-10-06 03:20:28 +03:00
a
aed16f2071 Disable welcome screen if `--no-rc` argument was passed. 2020-10-06 03:04:21 +03:00
a
81c4f4c636 Merge branch 'master' of https://github.com/xonsh/xonsh into printx 2020-10-06 00:02:08 +03:00
Anthony Scopatz
f9e0f072ac
changed internal usage of NO_COLOR to reset (#3835)
* changed internal usage of NO_COLOR to reset

* black
2020-10-05 16:59:24 -04:00
Anthony Scopatz
97d0d0592a
Merge pull request #3831 from anki-code/tutorial_literal
Added "Advanced String Literals" to the "Tutorial".
2020-10-05 14:42:00 -05:00
Anthony Scopatz
da6fcaca25
Merge pull request #3832 from anki-code/fix_env_subst
Fix env variables wrong substitution
2020-10-05 14:40:19 -05:00
Anthony Scopatz
c77acc2570
Merge pull request #3814 from anki-code/exit
Added exit to builtins in not interactive mode
2020-10-05 14:36:18 -05:00
a
9f3170dbe3 fix 3818: Env variables wrong substitution 2020-10-05 13:56:44 +03:00
a
02be19096e Advanced String Literals 2020-10-04 18:39:51 +03:00
anki-code
66fe4ef33e
Create gh_xsh.rst 2020-10-01 23:35:15 +03:00
a
75d16233d0 printx 2020-10-01 04:08:34 +03:00
a
1f2202c3cf news 2020-10-01 01:24:23 +03:00
a
7049c250b4 Merge branch 'master' of https://github.com/xonsh/xonsh into env_get_path 2020-09-30 23:44:37 +03:00
Anthony Scopatz
7b1b5d2874
Merge pull request #3793 from cafehaine/master
Change the behavior of NO_COLOR, add RESET
2020-09-30 13:30:38 -07:00
Anthony Scopatz
57730b900b
Merge pull request #3811 from jnoortheen/add-docs-for-ptk-updator
docs: add api-docs for ptk_shell.updator module
2020-09-30 13:28:50 -07:00
a
2e4d6196f1 typo 2020-09-30 21:48:12 +03:00
a
fb4c52a5ef Fix register 2020-09-30 21:36:59 +03:00
Noortheen Raja
64efb3b3df feat: integrate flake8-docstring
most of the rules are disabled since it will take longer to fix them all

maybe in future version we can fix them one by one
2020-09-30 16:07:58 +05:30
Noortheen Raja
9b68407d79 docs: add api-docs for ptk_shell.updator module 2020-09-30 13:11:50 +05:30
Anthony Scopatz
6b0a81a2e8
Merge pull request #3758 from jnoortheen/feat-threaded-prompt
feat: use threads to offload prompt sections
2020-09-29 17:45:31 -07:00
Anthony Scopatz
7fad190952
Merge pull request #3802 from anki-code/patch-11
Fixed xpg xontrib link and sort xontribs alphabetically
2020-09-29 17:44:48 -07:00
Anthony Scopatz
4aae3705e0
Merge pull request #3796 from anki-code/patch-9
"Bash to Xonsh Translation Guide" improvements and added commands to bashisms xontrib
2020-09-29 17:42:12 -07:00
Anthony Scopatz
4125d3ac2e
Merge branch 'master' into patch-11 2020-09-29 17:35:14 -07:00
Anthony Scopatz
31d0979680
Merge pull request #3803 from dyuri/xontrib_powerline_binding
xontrib-powerline-binding added to xontrib list
2020-09-29 17:33:59 -07:00
Danny Sepler
042efed94d Fix logic in working directory check 2020-09-28 12:05:00 -04:00
Noortheen Raja
3c2f9b5a38 feat: use threads to offload prompt sections
resolves #2803

- update1: handle optional prompts correctly
- update2: split PromptFormatter._format_prompt
- update3: get number of workers from env
- update4: now it supports setting async prompt after initing the
session
- update5: keep track of futures<->token index to avoice looping over
all token items

refactor: cache thread results between calls

if there is not much update between calls, then it will not glitch

also applied code review suggestions

refactor: clean old running features

refactor: async-prompt handle clearing futures from container

refactor: add more docstrings and apply review changes

docs: add doc hook

refactor: change %s to string concat

docs: update title in formatter api doc

feat: style cached result as faded

refactor: update shell functions after osc_ascii PR merged

refactor: split code into updator.py to handle async updates
2020-09-27 21:53:53 +05:30
anki-code
8758c1169c
Create fix_xontrib_link.rst 2020-09-26 22:22:50 +03:00
Gyuri Horak
bffb4fcbc3
don't know what's the problem with the external links... 2020-09-26 20:30:35 +02:00
Gyuri Horak
4f5738c901
xontrib-powerline-binding added to xontrib list 2020-09-26 20:09:25 +02:00
cafehaine
aad30339a0 Add news entry for no_color deprecation 2020-09-26 15:18:39 +02:00
anki-code
de8d7bbac1
Create onepath.rst 2020-09-25 22:01:42 +03:00
a
65d5948929 Merge branch 'patch-9' of github.com:anki-code/xonsh into patch-9 2020-09-25 09:57:51 +03:00
a
19ea4d3af9 Bashisms shopt, complete 2020-09-25 09:57:36 +03:00
anki-code
2d4137240e
Update bashisms.rst 2020-09-25 04:07:53 +03:00
a
4227be366d new 2020-09-24 23:41:02 +03:00