Commit Graph
22 Commits
Author SHA1 Message Date
Marc CornellàandGitHub 0389310390 fix(lib/git): fix detection of function use in prompt
RPS1 and RPROMPT are not equivalent, though they have the same effect.
Added both to detect if `git_prompt_*` is used.

Fixes #12325
2024-04-05 07:38:36 +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
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
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
Marc CornellàandGitHub dd3be612e3 ci(dependencies): add automation for updating external dependencies (#12109) 2023-12-20 10:21:31 +01:00
Marc CornellàandGitHub 1ae0515a80 fix(lib): patch omz_urlencode to not encode UTF-8 chars in Termux (#12076)
Fixes #12061
2023-12-06 08:09:45 +01:00
Marc Cornellà b6afbbea3a fix(installer): fix path logic and improve clarity on ZDOTDIR use 2023-12-01 17:03:15 +01:00
Marc Cornellà 7a30bcae40 ci(installer): fix token passing and only run on main repo 2023-11-30 14:21:48 +01:00
Marc Cornellà b6bb133f23 fix(git): fix repository detection in gccd function (#12023)
Fixes #12023
2023-11-08 08:42:34 +01:00
Marc Cornellà 7733e3ab57 ci: fix path filtering in installer workflow
See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-including-and-excluding-paths
2023-10-28 10:29:54 +02:00
Marc Cornellà 7348d12f8e ci(vercel): add Content-Disposition header on installer
This allows doing something like

  curl -O https://install.ohmyz.sh

and have the `install.sh` file automatically saved to its right name.
2023-10-28 10:24:24 +02:00
Marc Cornellà 048455ccef fix(git-commit): fix revert alias conflict (#12007)
Fixes #12007
2023-10-25 19:47:46 +02:00
Marc Cornellà 1868c15ec6 chore: remove mentions of huntr.dev
huntr.dev has pivoted to ML/AI-only vulnerability reporting, and we are
now already using GitHub's private vulnerability reports.
2023-10-23 13:24:56 +02:00
Marc Cornellà 8428442ff0 fix(termsupport): add workaround for directory tracking issues in Konsole
Fixes #11683
Related: 50c6786
2023-10-19 23:24:55 +02:00
Marc Cornellà ff6dac56a2 fix(git): fix smart cd to cloned directory in gccd function 2023-10-19 23:04:08 +02:00
Marc Cornellà f79647dba5 fix(git): fix check in gbds function 2023-10-19 22:05:03 +02:00
Marc Cornellà 9f84ba0854 feat(command-not-found): add support for Homebrew on Linux
Fixes #11151
2023-10-19 20:47:26 +02:00
Marc Cornellà d082d87580 refactor(lando): add LANDO_ZSH_WRAPPED_COMMANDS setting and refactor 2023-10-19 20:38:45 +02:00
Marc CornellàandGitHub 8152dc673b fix(git): move squash-merged branch deletion from gbda to gbds function (#11991) 2023-10-18 20:01:58 +02:00
Marc CornellàandGitHub f939768751 fix(git): fix fallback to develop branch if master not found (#11966) 2023-10-14 16:40:45 +02:00
Marc CornellàandGitHub 7329b2fbb1 docs(debian): clarify override behavior for apt_pref and apt_upgr
Fixes #11959
2023-10-12 11:46:49 +02:00
Marc CornellàandGitHub 53cb50acb5 refactor(systemadmin): use ss instead of netstat when available (#11957) 2023-10-11 20:43:55 +02:00