1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-21 15:30:09 +00:00
Commit graph

7157 commits

Author SHA1 Message Date
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
Juan Morete fcab8f1611
docs(ansible): remove duplicated alias entry (#12235) 2024-02-23 11:25:53 +01:00
Oren 40ff950fcd
fix(docker): support completion on snap installs (#12224) 2024-02-20 10:59:12 +01:00
Julian 15ffbdd346
feat(zoxide): add option to override cmd (#12218) 2024-02-19 10:29:37 +01:00
Frederik Ring 872b5cd408
docs(kubectx): add quoting to array keys (#12216) 2024-02-14 12:14:08 +01:00
Raphael Boidol f9bbf6047b
ci: bump actions/checkout version (#12210) 2024-02-13 17:32:44 +01:00
Carlo Sala 514d5736ea
ci: enable dependabot 2024-02-13 17:25:16 +01:00
Carlo Sala 8f22370af8
fix(key-bindings): bind default arrow keys to beginning-search
Fixes #12197
2024-02-12 09:48:38 +01:00
SgtDaJim bdcb4d9d1f
feat(bira): add support for kube-ps1 prompt (#8437) 2024-02-12 09:43:52 +01:00
vladislav doster fff073b55d
style(completion): remove extra space (#12206) 2024-02-08 15:41:34 +01:00
Carlo Sala 43613d7b71
fix(web-search): use pattern instead of regex
Closes #12202
2024-02-07 11:16:36 +01:00
Mateus Fernandes de Mello 883da63320
feat(web-search): add programming packages search (#12199) 2024-02-06 11:26:30 +01:00
Rayzeq 2124370900
fix(sublime): pass user's env to sst (#12194) 2024-02-04 18:21:31 +01:00
Taylor Cochran 70bf12402c
fix(prompt): quote ruby prompt (#12195) 2024-02-03 22:50:44 +01:00
Markus Hofbauer bebd9ea59f
chore(brew): remove duplicated alias (#12192) 2024-02-03 10:18:33 +01:00
lutra 69b0dfeadf
fix(kubectx): k8s contexts with spaces (#12191) 2024-02-02 17:12:36 +01:00
Markus Hofbauer b5e6392f21
feat(hazel): add some aliases (#12070) 2024-02-01 17:37:37 +01:00
Eric Schultz d6658f9af3
feat(stripe): add completion plugin (#12064)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-02-01 17:16:34 +01:00
0rxa 05bf69c604
feat(aws): implement permanent state (#12018)
Co-authored-by: Rei Arifi <reiarifi@Reis-MacBook-Pro.local>
Co-authored-by: Hysen Ndregjoni <hndregjoni@hotmail.com>
2024-02-01 17:11:13 +01:00
Harkesh 6f215cd692
feat(git): add grf alias (#12176) 2024-02-01 17:00:27 +01:00
Rejman Nascimento 4efad7ab1b
feat(git-commit): add wip kind (#12188) 2024-02-01 16:54:24 +01:00
Gauthier Delacroix e195c7cb43
fix(aws): pass default region to fetch regions (#12175)
Co-authored-by: Gauthier Delacroix <no@email.com>
2024-01-30 21:36:18 +01:00
Frank Dana 8b2ce98578
feat(ssh): add plugin (#12186)
Closes #2707 

Co-authored-by: Frank Wittig <frank.wittig@here.com>
Co-authored-by: Frank Wittig <frank@e5k.com>
2024-01-30 11:43:03 +01:00
Eemil Lagerspetz 80c114cb3a
fix(awesomepanda): new line wrap
Closes #5982

Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-01-25 10:23:38 +01:00