Robby Russell and Claude Fable 5.1
de76990950
fix(cli): address review feedback on omz generate plugin
...
- Turn %placeholders% into private markers when a template is read and
strip the marker from every value, so text inserted from user input
(e.g. -d '%name%') is never rescanned as a placeholder.
- When --enable is used for a name already in $plugins (a custom
override of an enabled built-in), report it and reload instead of
failing in _omz::plugin::enable.
- Make the completion note accurate whether or not a _<cmd> file was
generated.
- Test the write-phase cleanup with a template set missing a later
template, and test that placeholder-looking values come out literally.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com >
2026-09-05 14:48:54 -07:00
Robby Russell and Claude Fable 5.1
46aee25f27
feat(cli): add omz generate plugin to scaffold custom plugins
...
Adds a rails-style generator that creates a custom plugin in
$ZSH_CUSTOM/plugins/<name> from commented templates: the plugin file,
a README in the usual shape and, for plugins that wrap a command-line
tool, a completion skeleton (or the cached-completion block when the
tool generates its own). Anything not passed as an option is asked
for interactively; non-interactive shells use defaults.
`omz generate` is a new top-level command so that other generators
(e.g. `omz generate theme`) can follow the same shape.
Templates live in templates/generators/plugin and are syntax-checked
by CI. lib/tests/generate-plugin.test.zsh covers the non-interactive
path, name validation and the prompt helper.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com >
2026-09-05 14:28:32 -07:00
Maksym Tymoshyk
b5d75fc565
fix(cli): keep completion flag when loading multiple plugins ( #14032 )
2026-08-30 19:11:30 +02:00
Maksym Tymoshyk
44ce832bbd
fix(diagnostics): correct reserved_words array name ( #14031 )
2026-08-30 19:10:57 +02:00
Morningstar202604
146461f7c6
fix(git): force C locale only while matching status regexes ( #14006 )
2026-08-25 10:26:23 +02:00
zhoufengen
898b579cf5
fix(git): avoid illegal byte sequence ( #13878 )
2026-08-05 13:23:04 +02:00
vladislav doster
81becab1e7
docs: typos ( #13846 )
...
Signed-off-by: vladdoster <vladislav.doster@icloud.com >
2026-07-01 10:42:26 +02:00
御风
9a67e3b3f5
fix(git): support nounset option ( #13816 )
2026-06-15 12:08:05 +02:00
Dylan Roman and Carlo Sala
278ee100fc
fix(git): replace deprecated syntax for percent substitution in prompt ( #13705 ) ( #13706 )
...
Co-authored-by: Carlo Sala <carlosalag@protonmail.com >
2026-04-27 14:50:08 +02:00
Ranga Nirmal and Marc Cornellà
88659ed193
fix(appearance): ensure arg separation in test-ls-args ( #13556 )
...
Co-authored-by: Marc Cornellà <marc@mcornella.com >
2026-02-11 12:31:06 +01:00
bretello
129aeee6bc
feat(clipboard): send value to tmux client when copying ( #13451 )
2025-12-22 13:20:24 +01:00
tDwtp
f84341c574
fix(git): git_status_prompt should respect spaces in prefixes ( #13478 )
2025-12-11 15:05:23 +01:00
Copilot and robbyrussell
b52dd1a425
feat: Update OpenSwag domain references to CommitGoods ( #13434 )
...
* Initial plan
* Update all OpenSwag domain references to CommitGoods
Co-authored-by: robbyrussell <257+robbyrussell@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: robbyrussell <257+robbyrussell@users.noreply.github.com >
2025-11-19 17:44:11 -08:00
8c5a60644a
feat: announce OpenSwag and omz shop command ( #13428 )
...
* Update shop URLs from Planet Argon to OpenSwag and add omz shop command
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: robbyrussell <257+robbyrussell@users.noreply.github.com >
Co-authored-by: mcornella <1441704+mcornella@users.noreply.github.com >
2025-11-15 21:00:26 +01:00
Alexey Trofimenko
99017b8eac
fix(key-bindings): ensure <Esc-l> works if line is not empty ( #13391 )
2025-10-23 11:29:46 -07:00
Marc Cornellà
c87eb79140
feat(cli): only allow omz pr test on PRs with testers needed label ( #13238 )
2025-09-19 15:58:21 +02:00
Carlo Sala
92a03105ac
docs(key-bindings): clarify comment
...
Closes #13265
2025-08-16 21:26:22 +02:00
jishudashen
e3e468d138
chore: fix typos ( #13219 )
2025-07-21 18:39:25 +02:00
Kevin De Keyser
2ac69955e8
fix(termsupport): ensure non-error return code ( #13217 )
2025-07-21 11:11:35 +02:00
James Langley
788eaa5930
fix(functions): escape especial chars in WSL ( #13158 )
2025-06-08 10:25:23 +02:00
G'lek Tarssza
095ac3ca8f
feat(cli): add --enabled flag to omz plugin list ( #13128 )
2025-05-24 12:44:24 +02:00
Ilia Burtsev
13c702964c
fix(async): ensure git_prompt_status can be registered ( #13134 )
2025-05-24 12:39:17 +02:00
Kirill Fedorov and Kirill Fedorov
40c2a72e03
fix(history): handle HIST_STAMPS with whitespace in timestamp format ( #13099 )
...
Co-authored-by: Kirill Fedorov <kfedorov@ibsys.ru >
2025-05-22 11:23:50 +02:00
tobii-dev and Carlo Sala
881c8b78d3
feat(termsupport): add WezTerm support ( #13121 )
...
Co-authored-by: Carlo Sala <carlosalag@protonmail.com >
2025-05-18 19:14:44 +02:00
Carlo Sala
f81259fb34
fix(cli): support noexec environments ( #13042 )
...
Closes #13032
2025-03-29 12:55:20 +01:00
Carlo Sala
5eaebdf0fe
fix(termsupport): ensure ohmyzsh can run with set -eu
...
Closes #12870
2025-03-20 20:02:34 +01:00
Marc Cornellà and Carlo Sala
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
Carlo Sala
276e540eed
fix(cli): ensure ksharrays is unset
...
Closes #12900
2025-01-10 14:11:33 +01:00
Bin Chang
ccbe504f22
chore: fix some typos ( #12818 )
2024-11-21 09:01:48 +01:00
Carlo Sala
2a109d30af
feat(git): add escape hatch to enable async prompt
2024-10-08 20:41:58 +02:00
Henrik Holmboe and Marc Cornellà
6a10a4d6a3
feat(grep): exclude Python virtualenv from grep ( #12685 )
...
The convention to use `.venv` or `venv` directories for Python virtualenvs is widespread.
This directory is huge and gives very little value when grepping in a source code directory.
Co-authored-by: Marc Cornellà <marc@mcornella.com >
2024-10-08 20:29:30 +02:00
Marc Cornellà
767c927a6d
fix(cli): add plugins with indentation in omz plugin enable
2024-10-08 19:32:04 +02:00
mnv
00b9b62385
refactor(bzr): simplify and improve code ( #12716 )
2024-10-02 15:30:32 +02:00
Marc Cornellà
f4423ebd09
feat(cli): style plugin README in omz plugin info
2024-10-01 10:01:07 +02:00
Carlo Sala
367e9381df
chore(git): fix typo
2024-09-23 17:32:44 +02:00
Carlo Sala
99e2c31484
feat(git): add git_previous_branch function
...
Closes #12538
2024-09-18 21:05:45 +02:00
Erik Teichmann
9bcafe1c27
feat(functions): add takezip ( #12670 )
2024-09-18 20:26:38 +02:00
Saravana J
33ac2ee30f
fix(git): update prefix map for modified files ( #12674 )
2024-09-15 08:17:43 +02:00
robertoaceves
efe21261d0
fix(grep): remove duplicate options ( #12639 )
2024-08-27 08:13:47 +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
Jeonguk Choi and Jeonguk Choi
70cfff448d
feat(conda-env): add plugin for conda prompt display ( #10619 )
...
Co-authored-by: Jeonguk Choi <91456421+devj121@users.noreply.github.com >
2024-07-15 18:56:44 +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
Nick Glenn and Sargates
8908e6d720
fix(history): fix logic error in prompt for history -c ( #12500 )
...
Logic error in `history -c` when prompting for confirmation caused history
to be deleted when typing anything but explicitly `n`, `N`, or sending `\n`.
New logic prevents deletion by pressing wrong key and only deletes
history when sending `y` or `Y`.
Co-authored-by: Sargates <nicholas.g.glenn@gmail.com >
2024-06-13 09:26:17 +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à
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
stefan
529f77a344
feat(termsupport): support alacritty* TERM ( #12392 )
...
Closes #12391
2024-05-02 15:11:18 +02:00
Marc Cornellà
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à
f78c6b90fc
fix(async): fix crash on zsh < 5.0.6 ( #12358 )
2024-04-22 10:59:34 +02:00