Commit Graph
33 Commits
Author SHA1 Message Date
Marc CornellàandGitHub b0561d28b5 fix(cli): fix edge cases in omz plugin disable command (#12401)
Also introduces tests, which will be refactored into the proper
place when a test system is finally designed.

Fixes #12400
2024-05-08 22:20:42 +02:00
Marc CornellàandGitHub 803e1a784c fix(copybuffer): prevent which alias usage (#12379) 2024-04-25 08:04:18 +02:00
Marc CornellàandCarlo Sala 0c80a063c3 chore(async): reenable async prompt by default on zsh < 5.0.6 (#12358)
Fixes #12331
2024-04-22 10:59:34 +02:00
Marc CornellàandCarlo Sala f78c6b90fc fix(async): fix crash on zsh < 5.0.6 (#12358) 2024-04-22 10:59:34 +02:00
Marc CornellàandGitHub 1b5503a3ee feat(fzf): support fzf setup for 0.48.0 and older (#12367)
Fixes #12355
2024-04-19 21:57:46 +02:00
Marc Cornellà 80a651a6df chore(updater): small typo 2024-04-18 07:48:33 +02:00
Marc Cornellà 56cfcb44e7 fix(updater): abort update if $ZSH is not a git repository
Fixes #12298
2024-04-18 07:33:13 +02:00
Marc Cornellà c262ffbb68 fix(update): define $ZSH if undefined (#12273)
Fixes #12273
Fixes https://github.com/topgrade-rs/topgrade/issues/519
2024-04-18 07:16:42 +02:00
Marc Cornellà eafa78217d fix(history): fix history -c (#12362)
Fixes #12362
2024-04-18 07:12:32 +02:00
Marc Cornellà 1ed8d4b555 fix(git): turn off async prompt by default on zsh < 5.0.6 (#12331)
See https://github.com/ohmyzsh/ohmyzsh/issues/12331#issuecomment-2059460268
2024-04-17 20:21:18 +02:00
Marc Cornellà 7ef3f49f97 fix(agnoster): prevent accidental alias use 2024-04-16 20:04:25 +02:00
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