1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-18 10:22:00 +00:00
Commit graph

7180 commits

Author SHA1 Message Date
Loïc Yhuel
9d529c41cc
perf(async): avoid executing true if not required (#12318)
The issue which required "command true" was fixed in zsh 5.8.
2024-04-04 16:20:20 +02:00
Carlo Sala
114b58ed4e
fix(git): disable locally ksharrays
Fixes #12321
2024-04-04 11:58:43 +02:00
Carlo Sala
6d0362ef2f
fix(archlinux): make upgrade work with non-english
Closes #12316
2024-04-04 10:08:28 +02:00
Loïc Yhuel
04007a0e5d
feat(git): implement async completion for git_prompt_status (#12319)
This is important for themes using it, since it is usually a little slower than git_prompt_info.

Also two small fixes :
 - the handler for git_prompt_info was incorrectly named _omz_git_prompt_status
 - _defer_async_git_register was kept in precmd, there is no need to call it on each prompt
2024-04-03 21:32:16 +02:00
Marc Cornellà
ec1afe9dd6
feat(git)!: enable async git prompt (now for real)
BREAKING CHANGE: the new async prompt feature will render prompt information
asyncronously and degrade nicely when the calls take too long to finish, as
the prompt will already be first drawn and interactive. This is
enabled by default for the git prompt and themes that use it (`git_prompt_info`).
If you find that it's not working for you, please open an issue if one is
not already opened, and see https://github.com/ohmyzsh/ohmyzsh#disable-async-git-prompt
for how to turn it off.
2024-04-03 20:09:19 +02:00
Loïc Yhuel
b43b84abc7
fix(async): avoid blocking the shell while waiting (#12304)
Co-authored-by: Marc Cornellà <marc@mcornella.com>
2024-04-03 19:42:47 +02:00
Gregory Reshetniak
130002a79e
feat(httpie): complete https command (#12314) 2024-04-03 09:10:33 +02:00
Jason D'Amour
6dfa9507ce
feat(gcloud): add homebrew installation path (#12308) 2024-03-30 08:26:14 +01:00
Masaru Iritani
62a76353ab
fix(starship): keep ZSH_THEME if not installed (#12309) 2024-03-30 08:25:34 +01:00
vladislav doster
1d09c6bb0a
style: remove trailing whitespace (#12303) 2024-03-26 09:55:16 +01:00
Zikoeng Xi
a168efe73e
fix(poetry-env): activate only if env exists (#12301) 2024-03-26 09:54:04 +01:00
Arash Haghighat
ecc3e9db8a
feat(terraform): add tft (terraform test) (#12299) 2024-03-26 09:52:01 +01:00
Jim Weller
7647c79bae
feat(jira): add help/usage cmd (#12293)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-03-26 09:48:14 +01:00
Alexander Schlüter
3e05befaee
fix(ssh-agent): don't start new agent if screen/tmux symlink exists (#12297) 2024-03-25 12:27:21 +01:00
Ben Woodward
d157fc60c9
fix(mise): update environment when loading the plugin (#12294) 2024-03-21 20:46:40 +01:00
Colin Barnabas
0fed36688f
fix(docker-compose): completion regression (#12288) 2024-03-16 11:26:48 +07:00
ohmyzsh[bot]
d0bddee6e3
feat(gradle): update completion to version 25da917c (#12287)
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
2024-03-15 19:55:43 +07:00
Carlo Sala
8940fa2913
fix(dependencies): copy gradle LICENSE 2024-03-15 19:53:43 +07:00
Carlo Sala
fff9ab7619
feat(dependencies): enable gradle plugin 2024-03-15 19:49:24 +07:00
shuangcui
c8ba08581d
docs: fix typos (#12284) 2024-03-14 23:07:39 +07:00
guangwu
6780b19329
docs(pyenv): fix typo (#12283) 2024-03-14 17:37:06 +07:00
Ing. Jan Kaláb
4ad09ab0b1
feat(extract): prefer using pbzip2 instead of bunzip2 (#12280) 2024-03-13 00:23:08 +07:00
webstar
1cc41576d4
docs(readme): add contributor list (#12236) 2024-03-12 09:43:08 +07:00
Misaka
4fd2af0a82
feat(fzf): add default fzf_base for msys2 (#12274) 2024-03-10 03:16:16 +01:00
Marc Cornellà
06753e8146
fix(async): register the git prompt async handler correctly (#12267)
This fix conditionally registers the git prompt async handler only
if `git_prompt_info` is used anywhere in the prompt variables.

This is done in the proper order, so that the async request is
processed once the handler has been registered.

This fix also passes the return value of the previous command
to each of the async handlers, in case they are needed.
2024-03-09 18:29:53 +01:00
Carlo Sala
32d4389aa6
fix(git): disable temporarely async prompt 2024-03-07 17:17:27 +01:00
Marc Cornellà
083cc2c8e8
feat(async)!: implement async prompt API and apply to git prompt (#12257)
BREAKING CHANGE: the `git_prompt_info` prompt function has been
reworked by default to use the new async prompt feature. If you're
experiencing issues see #12257.

Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-03-07 14:39:05 +01:00
Ross Williams
4fca7ccb55
feat(tools): update supports_hyperlinks (#12258)
Update to https://github.com/zkat/supports-hyperlinks/releases/tag/v3.0.0
2024-03-07 09:54:43 +01:00
Felipe Contreras
2a71aa5017
chore(gitfast): remove update script (#12262)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-03-07 09:47:15 +01:00
Carlo Sala
fd01fd66ce
perf(nvm): don't call nvm version on every cd
Now we only call `nvm version` in case we changed directory and we are
not anymore in a `.nvmrc` directory.
See https://github.com/nvm-sh/nvm/pull/2874
2024-03-04 11:11:35 +01:00
Carlo Sala
94aa49c0b9
feat(nvm)!: make lazy and autoload options compatible
BREAKING CHANGE: Prior to this commit, if `lazy` and `autoload` options
were enabled at the same time, `lazy` was getting overriden and only
`autoload` was taken into account.
Now they work together and `autoload` will be enabled after `nvm` has
been lazy-loaded.

Closes #11690
2024-03-04 11:11:27 +01:00
Carlo Sala
0ea0d14288
fix(nvm): remove zsh completion
We rely on official bash completion now on.
2024-03-04 10:47:34 +01:00
Maxime Brunet
da16258c5c
fix(terraform): fix completion repeating flags with value (#12256) 2024-03-04 08:28:00 +01:00
Maxime Brunet
f17aa2ffa8
fix(terraform): pass -chdir to completion commands (#12254) 2024-03-03 21:22:41 +01:00
Robert Crews
12cd3b3e39
feat(python): add auto venv activation (#12248)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-03-03 13:04:19 +01:00
Maxime Brunet
97a86ed167
feat(terraform): update completion to v1.7 (#12252) 2024-03-03 11:56:40 +01:00
Carlo Sala
70395a6463
fix(git): do not use += in sh script
Fixes #12251
2024-03-03 11:22:25 +01:00
Carlo Sala
458fc2e1df
docs(git-commit): add warning 2024-03-02 10:05:54 +01:00
Carlo Sala
b6c1de87b0
fix(git-commit): add omz version check 2024-03-02 10:05:44 +01:00
张天泽
2c62584b83
fix(tmux): use full offset parameter (#12249) 2024-03-02 09:12:34 +01:00
Carlo Sala
8e088ded82
docs(git-commit): document attention flag 2024-03-02 01:25:20 +01:00
Rejman
3ee108ccb3
feat(git-commit): add -a | --attention flag
Refactor function as well to reduce flaws and increase stability

Closes #12234

Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-03-02 01:22:01 +01:00
Carlo Sala
e3216d15c2
fix(git-commit)!: allow alias update
BREAKING CHANGE: Prior to this commit, git aliases were not being
updated after every update of oh-my-zsh. In case you were using
git-commit plugin before this commit, please remove your git aliases to
proceed.
2024-03-02 01:09:17 +01:00
Carlo Sala
0008534147
fix(tmux): regression with detached sessions
See https://github.com/ohmyzsh/ohmyzsh/pull/12242#issuecomment-1973236605
2024-03-01 16:44:20 +01:00
Artem Babii
9730915910
feat(kube-ps1): add symlink support (#12208) 2024-02-29 22:07:10 +01:00
Gam
50fd98e5a6
fix(ssh): allow multiple definitions per host (#12227) 2024-02-29 21:59:27 +01:00
Jonathan De Troye
65b23a3328
fix(tmux): do not pass empty flags to aliases (#12232)
This enables compatibility with tmux >3.3a

Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-02-29 19:05:54 +01:00
Pandu E POLUAN
6a65ac9025
feat(eza): create plugin (#12237)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-02-29 09:40:40 +01:00
Pandu E POLUAN
51bf9fc2de
feat(tmux): prioritize tmux terminfo (#12243)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-02-28 10:52:09 +01:00
Dusk
c891b7e6ad
feat(tmux): add option for detached mode (#12242) 2024-02-27 20:09:02 +01:00