Marc Cornellà
a79b37b954
Revert "fix(kubectl)!: change alias from kl to klog ( #13204 )"
...
This reverts commit 475b18f39a .
2025-12-30 09:48:43 +01:00
Marc Cornellà and GitHub
e9fc134236
ci(dependencies): update job permissions, change commits to chore ( #13457 )
2025-12-01 11:22:14 +01:00
Marc Cornellà
977c4f93a6
refactor(rbfu)!: remove deprecated rbfu plugin
...
BREAKING CHANGE: `rbfu`, the tool to manage Ruby versions, has long
been deprecated (2013-02-05). The plugin has been removed. If you
were still using it, consider using alternative Ruby version
managers: https://www.jetbrains.com/help/ruby/ruby-version-managers.html
2025-12-01 11:21:13 +01:00
Marc Cornellà
ee30bc535a
refactor(fig)!: remove archived fig plugin
...
BREAKING CHANGE: the fig plugin has been removed. `fig` was sunset
on September 1, 2024. Having this plugin no longer makes sense.
See https://fig.io/ for more information.
2025-12-01 11:21:13 +01:00
Marc Cornellà and GitHub
fc2d0f8848
chore: add OpenSSF Best Practices badge ( #13443 )
2025-11-23 20:50:17 +01:00
Marc Cornellà and GitHub
1dc87da9e6
chore: tidy funding ( #13401 )
2025-10-29 11:46:31 -07:00
Marc Cornellà and GitHub
242e2faa51
ci: improve security in project.yml workflow ( #13329 )
...
There is no inherent security vulnerability in the workflow, but there were
certain practices that increased latent risk. In this commit, we:
- Explicitly bind app token for each step that needs it, instead of setting it for
all steps after "Store app token"
- Refactor "classify" step, to not rely on files passed around, and instead uses
only awk script.
- Remove all instances of template injection within `run` scripts. There was nothing
dangerous, but the practice is unsafe.
- Sanitize all unwanted characters from PR plugin and theme names.
References: W2M1-06 W2M1-07
2025-09-27 20:00:50 +02:00
Marc Cornellà and GitHub
6d5482ef59
chore: remove obsolete gitpod integration ( #13334 )
2025-09-27 15:56:46 +02:00
Marc Cornellà and GitHub
c87eb79140
feat(cli): only allow omz pr test on PRs with testers needed label ( #13238 )
2025-09-19 15:58:21 +02:00
Marc Cornellà and GitHub
98a182d71b
ci: add strict permissions to dependencies.yml workflow ( #13232 )
...
Just use `contents:read` initial permission. The other permissions needed are
those attached to the @ohmyzsh GitHub App.
2025-07-28 19:13:35 +02:00
Marc Cornellà and GitHub
3e7ef0182f
chore: document Incident Response Plan ( #13195 )
2025-07-01 17:59:18 +02:00
Marc Cornellà and Jeff Williams
407be8f036
feat(dirhistory): preserve forward directories with cde alias ( #9328 )
...
Closes #11954
Co-authored-by: Jeff Williams <jeffsmessages@gmail.com >
2025-03-20 20:29:47 +01:00
Marc Cornellà
068299685c
fix(dirhistory): support iTerm2 natural text key bindings ( #11026 )
...
Fixes #11026
Fixes #11407
2025-03-20 20:10:04 +01:00
Marc Cornellà and GitHub
7d32e7fc3f
fix(updater): detect p10k instant prompt ( #12971 )
...
Fixes #12781
2025-02-13 12:22:23 +01:00
85c4941492
fix(cli)!: remove harmful --unattended flag for omz update ( #12935 )
...
Co-authored-by: Carlo Sala <carlosalag@protonmail.com >
2025-01-23 21:06:00 +01:00
Marc Cornellà and GitHub
4e29c670a4
fix(changelog): show if there are no changes ( #12934 )
2025-01-23 20:38:12 +01:00
Marc Cornellà
501f29f90c
fix(tailscale): fix completion binding for alias to Tailscale ( #12928 )
...
Fixes #12928
2025-01-23 20:14:47 +01:00
Marc Cornellà and GitHub
cca4043238
feat(python): support multiple venvs via $PYTHON_VENV_NAMES ( #12932 )
2025-01-23 19:54:50 +01:00
2e8d2d7401
fix(pipenv): fix auto-shell functionality when cd-ing out ( #12813 )
...
Co-authored-by: Jean-Tiare Le Bigot <jt@yadutaf.fr >
2024-11-19 21:05:34 +01:00
Marc Cornellà and GitHub
b5d52682ca
fix(dash): urlencode special parameters like : in query ( #12811 )
...
In macOS, using queries such as `dash php:enum` does not open Dash.app,
possibly due to colon character being interpreted as a port.
URL-encoding the parameter (: -> %3A) makes this work again.
Fixes https://discord.com/channels/642496866407284746/809850042575093760/1308076125456437300
2024-11-19 15:43:04 +01:00
c690f73161
feat: add devcontainers configuration ( #12783 )
...
Co-authored-by: Vatsal Gupta <40350810+gvatsal60@users.noreply.github.com >
2024-10-27 20:46:46 +01:00
Marc Cornellà and GitHub
fa64758aea
fix(vagrant-prompt): make vagrant_prompt_info generic for any state ( #12782 )
2024-10-27 17:31:38 +01:00
Marc Cornellà
68d189cb35
fix(last-working-dir): save working directory more strictly ( #11343 )
...
Fixes #11343
2024-10-27 16:03:32 +01:00
Marc Cornellà
45516ca1d8
docs(jsontools): document requirements
...
Fixes #10834
2024-10-27 15:13:58 +01:00
Marc Cornellà and GitHub
a9e29fc12c
chore: fix note block in README
2024-10-20 10:48:00 +02:00
Marc Cornellà
4ada154190
chore(installer): only serve installer in / and /install.sh
...
This avoids false positive detections on other bruteforced paths,
such as .zsh_history or others, which eventually result in
automated false vulnerability submissions.
2024-10-18 14:27:54 +02:00
Marc Cornellà and GitHub
b3ba8da421
ci(dependencies): use tag version in git commit if available ( #12756 )
...
Related: https://github.com/ohmyzsh/ohmyzsh/pull/12747#issuecomment-2410440748
2024-10-14 13:15:39 +02:00
Marc Cornellà
29b81a38a4
chore: assign owner for terraform and k8s-related plugins
2024-10-08 19:58:10 +02:00
Marc Cornellà
767c927a6d
fix(cli): add plugins with indentation in omz plugin enable
2024-10-08 19:32:04 +02:00
Marc Cornellà
f4423ebd09
feat(cli): style plugin README in omz plugin info
2024-10-01 10:01:07 +02:00
Marc Cornellà
9114853500
fix(aussiegeek): quote color sequences
2024-09-24 18:18:17 +02:00
Marc Cornellà
e3e80b98b5
chore(jsontools): change link to NDJSON spec ( #12671 )
...
Fixes #12671
2024-09-15 15:14:38 +02:00
Marc Cornellà
a84bc2dadd
fix(python)!: remove harmful ipython alias ( #12676 )
...
BREAKING CHANGE: the `ipython` alias was incorrectly trying to manually call
ipython from the installed module in the virtual environment, when actually
a command already exists when loading the virtual environment. This change
removes the unnecessary alias and allows calling the right command.
Fixes #12676
2024-09-15 15:12:22 +02:00
Marc Cornellà and GitHub
e50dd3417c
feat(extract): add support for .crx (Chrome extension format) ( #12652 )
2024-09-05 12:07:18 +02:00
Marc Cornellà and GitHub
ab3d42a34c
Revert "fix(awesomepanda): new line wrap" ( #12651 )
...
This reverts commit 80c114cb3a .
2024-09-03 23:35:22 +02:00
Marc Cornellà and GitHub
c68ff8aeed
feat(extract): add support for .vsix files (VS Code extension) ( #12643 )
2024-08-30 14:30:57 +02:00
Marc Cornellà
2056aeeead
Revert "feat(git)!: ask for confirmation in gpf alias ( #10169 )"
...
This reverts commit c13795d4c4 .
2024-08-18 11:22:30 +02:00
Marc Cornellà
f30df6c855
docs: document disclaimer about theme appearance
2024-08-15 17:04:50 +02:00
Marc Cornellà and GitHub
c13795d4c4
feat(git)!: ask for confirmation in gpf alias ( #10169 )
...
- Rename `git push --force-with-lease ...` to `gpff`
- Add a y/n confirmation prompt to `gpf` before running `git push --force-with-lease ...`
BREAKING CHANGE: this change adds a confirmation prompt to the `gpf` alias before
running the potentially destructive `git push --force-with-lease` command. If you
want to force-run the command without having to confirm it, run `gpff`.
2024-08-15 16:48:03 +02:00
Marc Cornellà
d26c4a2766
chore(tmux): add link to iTerm2 integration docs
2024-08-15 16:26:46 +02:00
Marc Cornellà
efafef8495
docs: improve several plugin READMEs and add one for ssh plugin
2024-08-09 09:44:46 +02:00
Marc Cornellà
fccaaf2fc6
fix(heroku-alias): fix loading heroku-alias plugin and rework docs
2024-08-08 20:43:20 +02:00
Marc Cornellà
ff62d39f02
refactor(docker-machine)!: remove plugin for unsupported Docker Machine
...
BREAKING CHANGE: the `docker-machine` plugin is removed as it was deprecated
and unsupported years ago. Use Docker Desktop instead.
2024-08-08 20:43:11 +02:00
Marc Cornellà
f91dd25283
refactor(vault)!: remove deprecated vault plugin in favor of official completion
...
BREAKING CHANGE: the `vault` plugin added completion for the `vault` CLI. Since a while
back there is already official completion. This change removes the deprecated plugin.
2024-08-08 20:43:07 +02:00
Marc Cornellà
0ffcc3b68a
style(toolbox): use oneliner to extract and quote container name
2024-08-04 18:59:42 +02:00
Marc Cornellà and Ken Kelly
22bda7799b
fix(kubectx): fix display of k8s contexts without double quotes ( #12534 )
...
BREAKING CHANGE: the `kubectx` plugin now properly displays contexts from the
kubectx_mapping array, without using double quotes. Please refer to the plugin
README to see how to use it properly.
Closes #12534
Co-authored-by: Ken Kelly <ken@kenhkelly.us >
2024-08-01 10:00:58 +02:00
Marc Cornellà and GitHub
d525e80355
chore: fix ordering of sections in README
2024-07-30 23:21:42 +02:00
Marc Cornellà
0a9a80a524
fix(brew): rename bc alias to bcn to avoid conflict with command ( #12582 )
...
Fixes #12582
2024-07-27 16:44:20 +02:00
Marc Cornellà
f70e6916a1
fix(lib): turn off rematchpcre option in omz_urlencode ( #12388 )
...
Fixes #12388
2024-07-27 14:29:08 +02:00
Marc Cornellà
5e957cdc16
chore: clarify order of preference for reporting vulnerabilities
2024-07-24 19:47:18 +02:00
Marc Cornellà
27ca0c915b
chore(dependabot): remove automatic labels
2024-07-23 19:55:14 +02:00
Marc Cornellà
c7c11e110a
refactor(fd): remove fd completion plugin ( #12576 )
...
BREAKING CHANGE: the `fd` plugin has been removed, as it only shipped its
completion, which is now already included in all the usual package managers.
2024-07-23 18:56:01 +02:00
Marc Cornellà
09a3eb69bb
refactor(ripgrep): remove ripgrep completion plugin ( #12576 )
...
BREAKING CHANGE: the `ripgrep` plugin has been removed, as it only shipped its
completion, which is now already included in all the usual package managers.
2024-07-23 18:56:01 +02:00
Marc Cornellà
18b86f2b72
refactor(ag): remove ag completion plugin ( #12576 )
...
BREAKING CHANGE: the `ag` "The Silver Searcher" plugin has been removed, as it
only shipped its completion, which is now already included in all the usual
package managers.
2024-07-23 18:56:01 +02:00
Marc Cornellà
3476148b19
chore(dependencies): sort dependencies.yml
2024-07-23 18:56:01 +02:00
Marc Cornellà
a2bf5c7b99
refactor(gem): favor built-in zsh completion for gem ( #12576 )
...
Completion for `gem` was included in zsh 5.5 and newer. This change
only uses the Oh My Zsh one if running an older version.
Reference: https://github.com/zsh-users/zsh/commit/9881778d48caf842f794d986bc9befebf0fb01c2
2024-07-23 18:56:01 +02:00
Marc Cornellà
25836e227c
refactor(adb): remove outdated completion plugin adb ( #12576 )
...
BREAKING CHANGE: the `adb` plugin has been removed in favor of the completion
provided out-of-the-box by zsh since 4.3.14.
This commit removes plugin `adb`, which bundles custom completion for the
`adb` tool for Android. `adb` completion is already supported out of the
box in zsh 4.3.14 and older.
Reference: https://github.com/zsh-users/zsh/commit/d1a557d008b7fa7881327acbd6decdb50631cc9c
2024-07-23 18:56:01 +02:00
Marc Cornellà and GitHub
8127e5838c
fix(kubectl): fix kubectl completion for kj, kjx and ky aliases ( #12566 )
2024-07-21 10:16:30 +02:00
Marc Cornellà
3012c257bc
refactor(rtx): remove deprecated rtx plugin in favor of mise
2024-07-15 19:04:06 +02:00
Marc Cornellà
0b27b15d0b
fix(init): fix subscript flag in 11ca9e2a
2024-07-13 18:32:22 +02:00
Marc Cornellà and Adem Simsek
11ca9e2ac7
fix(init): add cached completions directory only once ( #12551 )
...
Double quotes within the subscript test are interpreted literally, making the
test never match. On subsequent runs, the `$ZSH_CACHE_DIR/completions` directory
is always prepended to `$fpath`, even if it is already there. This commit fixes
that.
Fixes #12551
Co-authored-by: Adem Simsek <adem@simsek.dev >
2024-07-13 18:22:06 +02:00
Marc Cornellà
a87e9c715b
fix(init): fix definition order for $ZSH_CUSTOM
...
Tipped about this in https://github.com/ohmyzsh/ohmyzsh/commit/6754b7e67#commitcomment-143280115
2024-06-20 19:51:51 +02:00
Marc Cornellà
f2769acdfa
chore(history): show input in confirmation prompt
...
Fixes https://github.com/ohmyzsh/ohmyzsh/issues/12472#issuecomment-2175868971
2024-06-18 13:32:22 +02:00
Marc Cornellà
c83ca51b1b
fix(history): fix confirmation prompt to allow bypass
...
See https://github.com/ohmyzsh/ohmyzsh/issues/12472#issuecomment-2171461005
2024-06-18 07:26:38 +02:00
Marc Cornellà
6fe78e0629
chore: better document top-level custom files for aliases ( #12504 )
...
See discussion in https://github.com/ohmyzsh/ohmyzsh/discussions/12504
2024-06-15 17:39:57 +02:00
Marc Cornellà
35a6725970
fix(history): add warning before deleting command history in history -c ( #12472 )
2024-06-12 11:04:05 +02:00
Marc Cornellà
59e8e028e1
fix(lib/git): turn off async prompt for zsh < 5.0.6
...
We removed this mitigation in 0c80a063 because of an assumption
that the issue had been fixed, but it looks like zsh < 5.0.6 has
other issues (see #12360 ), so we need to disable it for real.
Fixes #12360
2024-06-12 10:32:30 +02:00
Marc Cornellà
d91f4e83ef
fix(fzf): fix missing is-at-least error in setup ( #12412 )
...
Fixes #12412
2024-05-12 09:45:26 +02:00
Marc Cornellà and GitHub
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à and GitHub
803e1a784c
fix(copybuffer): prevent which alias usage ( #12379 )
2024-04-25 08:04:18 +02:00
Marc Cornellà and Carlo 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à and Carlo Sala
f78c6b90fc
fix(async): fix crash on zsh < 5.0.6 ( #12358 )
2024-04-22 10:59:34 +02:00
Marc Cornellà and GitHub
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à and GitHub
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à and GitHub
dd3be612e3
ci(dependencies): add automation for updating external dependencies ( #12109 )
2023-12-20 10:21:31 +01:00
Marc Cornellà and GitHub
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à and GitHub
8152dc673b
fix(git): move squash-merged branch deletion from gbda to gbds function ( #11991 )
2023-10-18 20:01:58 +02:00
Marc Cornellà and GitHub
f939768751
fix(git): fix fallback to develop branch if master not found ( #11966 )
2023-10-14 16:40:45 +02:00
Marc Cornellà and GitHub
7329b2fbb1
docs(debian): clarify override behavior for apt_pref and apt_upgr
...
Fixes #11959
2023-10-12 11:46:49 +02:00