Commit Graph
8032 Commits
Author SHA1 Message Date
Robby RussellandClaude Opus 5.5 34aec8b799 docs(lib): note why the omz autoloads need -z under kshautoload
The autoload files end with a call to the function they define. Under
kshautoload, ksh-style loading would call it a second time; -z forces
zsh-style loading so the trailing call is the only one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 11:44:09 -08:00
copilot-swe-agent[bot]androbbyrussell 82bfc95f7f ci: check syntax for functions/* and completions/_*
Co-authored-by: robbyrussell <257+robbyrussell@users.noreply.github.com>
2026-11-24 11:43:34 -08:00
Robby RussellandClaude Fable 5.1 58d76b0c10 perf(lib): autoload the omz CLI and omz_diagnostic_dump
lib/cli.zsh (944 lines) and lib/diagnostics.zsh (353 lines) were parsed
on every startup to define functions that most shells never call. Move
them to $ZSH/functions/, which is already on $fpath, and autoload the
two entry points from oh-my-zsh.sh instead. The `omz` completion moves
to $ZSH/completions/_omz where compinit picks it up on its own.

Measured on macOS arm64, zsh 5.9: ~1.7 ms less per interactive start.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-24 11:43:34 -08:00
Runrioter Wung 1195c3a15e fix(tmux): handle $EDITOR with options in tmuxconf alias (#14159)
* fix(tmux): handle `$EDITOR` with options in `tmuxconf` alias

* docs(tmux): update docs for `tmuxconf`
2026-11-24 11:39:45 -08:00
Srinivas Chippagiri f68e5ec392 fix(poetry): make psh and psync work with Poetry 2 (#14283) 2026-11-24 11:37:22 -08:00
27506acc8a fix(encode64): support BSD base64 and quote arguments (#14269)
* encode64: support BSD base64 and quote arguments

* chore: remove pr-body.md and pr-title.txt from branch

---------

Co-authored-by: pei711 <pei711@users.noreply.github.com>
Co-authored-by: pei711 <3922088406@qq.com>
2026-11-24 11:28:08 -08:00
Morningstar202604 109270911c feat(cli): add omz diagnose locale check (#14140)
* feat(core): add `omz diagnose` locale check

Reports whether the runtime locale is UTF-8, using the CODESET parameter
of the zsh/langinfo module that lib/functions.zsh already loads at startup,
with a `locale charmap` fallback when the module is unavailable. Non-UTF-8
charsets cause completion glitches such as duplicated characters at the
prompt.

This replaces the startup warning proposed in the earlier iteration: per
maintainer feedback the check belongs in `omz diagnose` so that no shell
startup cost is paid and it only surfaces when the user is already
debugging their setup.

I used AI to draft and rework this change.

* docs: document omz diagnose in README

Add a Diagnostics section below the update instructions describing
`omz diagnose` and pointing at `omz_diagnostic_dump` for full reports.

I used AI to draft this change.
2026-11-24 11:28:01 -08:00
Morningstar202604andMorningstar202604 49a6348eac fix(dirhistory): fix typo in push_future duplicate check (#14149)
`push_future` referenced `$dirhistory_futuret` (missing the 'e' - a
typo) in its duplicate check, so `$dirhistory_futuret[...]` was an
undefined variable and consecutive identical entries were never skipped.
ALT-RIGHT navigation then revisited the same directory repeatedly.
Match `push_past`, which uses `$dirhistory_past` correctly.

Co-authored-by: Morningstar202604 <morningstar202604@users.noreply.github.com>
2026-11-24 11:27:54 -08:00
anacletoTM 2aa7aed78b fix(ember-cli): correct version help completion (#14281) 2026-11-24 10:47:01 -08:00
dependabot[bot] 93b87c9c9a chore(deps): bump semver (#14271)
Signed-off-by: dependabot[bot] <support@github.com>
2026-11-24 10:49:33 +01:00
dependabot[bot] 8a85fa2243 chore(deps): bump the gha-minor group with 3 updates (#14272)
Signed-off-by: dependabot[bot] <support@github.com>
2026-11-24 10:49:18 +01:00
Faris Basha TM 6c31a91a3e docs(jj): fix dead link to the template syntax docs (#14259)
The jj documentation moved from martinvonz.github.io/jj to
docs.jj-vcs.dev, and the old templates page now returns 404.
2026-11-23 16:33:06 -08:00
TINGyu123644 c52efbc756 docs(dotenv): fix dead 1Password Environments doc link (#14257)
The link to the 1Password Environments docs used the old singular
`/docs/environment/` path which now returns 404. 1Password moved the
page to the plural `/docs/environments/` path. Updates the single link
in the dotenv plugin README so readers reach the current docs.
2026-11-23 16:16:49 -08:00
Rasmus Skovgaard Lauritsen e35c9b4b67 feat(bitwarden): add completions for bw and bws (#14261)
* feat(bws): add completion plugin

* feat(bitwarden): unify bw and bws completions
2026-11-23 15:56:41 -08:00
Divya 87aa1a9b89 fix(changelog): hide reverted commits again after the switch to 12-char hashes (#14262)
* fix(changelog): hide reverted commits again after the switch to 12-char hashes

Since #12096 the commit list is read with `--abbrev=12`, so the `types`
array is keyed by 12-character hashes, but `commit:is-revert` still
returned the first 7 characters of the reverted hash. The lookup in
`display-release` never matched, and both a reverted commit and its
`Revert "..."` commit were listed in the changelog.

* test(changelog): cover hiding reverted commits
2026-11-22 10:18:48 -08:00
Divya ca0a63f0ee fix(jsontools): print JSON, not YAML, in pp_json with the ruby method (#14263)
* fix(jsontools): print JSON, not YAML, in `pp_json` with the ruby method

The ruby implementation of `pp_json` converted the parsed input to YAML
(`to_yaml`), while the node and python3 implementations, and the README,
pretty-print JSON. Use `JSON.pretty_generate` with the same 4-space
indent as the other methods.

* test(jsontools): cover the ruby method
2026-11-22 10:16:39 -08:00
Martino Pulici a7f4e49946 fix(alias-finder): avoid echo escape evaluation and xargs errors (#14264) 2026-11-22 10:12:23 -08:00
Julian Oes 3ecde00d94 fix(mortalscumbag): compare against the tracked branch, not origin (#14265)
The ahead/behind markers compared HEAD with `origin/<branch>`, so in a
fork where the branch tracks a different remote they reported the
difference to `origin` instead of to the branch's own upstream. Use
`@{upstream}`, like `git_commits_ahead`/`git_commits_behind` in
lib/git.zsh do. A branch without an upstream shows no marker.
2026-11-22 10:09:30 -08:00
Sainnhe Park 902761f897 feat(gcloud): support FreeBSD (#14268)
FreeBSD installs zsh completion def into `/usr/local/google-cloud-sdk/completion.zsh.inc`. This commit adds `/usr/local/google-cloud-sdk` to `search_locations` so the gcloud plugin can discover this file.
2026-11-22 09:55:06 -08:00
Martino Pulici c0140703a5 fix(alias-finder): localize c and cmdLen variables (#14253) 2026-11-16 13:08:14 +01:00
Zain Qureshi ffe93241cc docs(drush): fix drdmp expansion (#14138) 2026-11-16 13:07:55 +01:00
dependabot[bot] ca82ba6831 chore(deps): bump semver from 3.1.0 to 3.1.1 in /.github/workflows/dependencies in the py-minor group (#14255)
Signed-off-by: dependabot[bot] <support@github.com>
2026-11-16 12:59:33 +01:00
dependabot[bot] e957b67eed chore(deps): bump step-security/harden-runner from 2.22.3 to 2.22.4 in the gha-minor group (#14254)
Signed-off-by: dependabot[bot] <support@github.com>
2026-11-16 12:59:30 +01:00
Paolo Valletta 6010fb6260 fix(mvn): complete with compsys instead of compctl (#14241) 2026-11-09 13:36:11 +01:00
Iain 044bcbf82d fix(npm): replace removed npm bin in npmE (#14250) 2026-11-09 13:34:47 +01:00
dependabot[bot] 2d03d8ac01 chore(deps): bump github/codeql-action/upload-sarif from 4.39.1 to 4.39.3 in the gha-minor group (#14249)
Signed-off-by: dependabot[bot] <support@github.com>
2026-11-09 13:33:18 +01:00
Robby Russell f5d571c66d feat(core): invite users to star the repo on github (#14248) 2026-11-09 13:32:35 +01:00
Iain cca3bdfbef fix(web-search)!: remove ask.com, which has shut down (#14244)
BREAKING CHANGE: the `ask` engine and alias are removed from the web-search plugin, because Ask.com has shut down.
2026-11-06 05:42:13 -08:00
Wei-Lun Li 59ff4d042e fix(timer): round duration before splitting off minutes (#14246) 2026-11-06 05:40:48 -08:00
dependabot[bot] b509b1c6ed chore(deps): bump certifi (#14237)
Bumps the py-minor group in /.github/workflows/dependencies with 1 update: [certifi](https://github.com/certifi/python-certifi).


Updates `certifi` from 2026.10.19 to 2026.10.23
- [Commits](https://github.com/certifi/python-certifi/compare/2026.10.19...2026.10.23)

---
updated-dependencies:
- dependency-name: certifi
  dependency-version: 2026.10.23
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: py-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-02 09:23:31 +01:00
dependabot[bot] c483ff288d chore(deps): bump step-security/harden-runner (#14238)
Bumps the gha-minor group with 1 update: [step-security/harden-runner](https://github.com/step-security/harden-runner).


Updates `step-security/harden-runner` from 2.22.2 to 2.22.3
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](https://github.com/step-security/harden-runner/compare/dc2769abcc0fcfbadfc1df54081c1608579ef6b2...46b06cea07f9e64621fdf066ba77ac6915163d43)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-version: 2.22.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gha-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-02 09:23:10 +01:00
BreakerandCarlo Sala 17a2b4c3a5 fix(clipboard): strip PowerShell carriage returns on WSL (#14216)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2026-10-27 12:37:49 +01:00
dependabot[bot] d2b7f557cc chore(deps): bump certifi (#14212)
Bumps the py-minor group in /.github/workflows/dependencies with 1 update: [certifi](https://github.com/certifi/python-certifi).


Updates `certifi` from 2026.7.22 to 2026.10.19
- [Commits](https://github.com/certifi/python-certifi/compare/2026.07.22...2026.10.19)

---
updated-dependencies:
- dependency-name: certifi
  dependency-version: 2026.10.19
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: py-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-25 15:39:31 +01:00
dependabot[bot] c61578a8d2 chore(deps): bump the gha-minor group with 3 updates (#14213)
Bumps the gha-minor group with 3 updates: [step-security/harden-runner](https://github.com/step-security/harden-runner), [actions/setup-python](https://github.com/actions/setup-python) and [github/codeql-action/upload-sarif](https://github.com/github/codeql-action).


Updates `step-security/harden-runner` from 2.22.1 to 2.22.2
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](https://github.com/step-security/harden-runner/compare/ccd8616d44fd3846e67624a50d5aad6d37bf2d25...dc2769abcc0fcfbadfc1df54081c1608579ef6b2)

Updates `actions/setup-python` from 7.0.0 to 7.1.0
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/5fda3b95a4ea91299a34e894583c3862153e4b97...6d4fd22b20465ccc0f7354476588e8df7c9ca0e0)

Updates `github/codeql-action/upload-sarif` from 4.39.0 to 4.39.1
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee...9b3254085494b55a0f7c4c2b3d2d52cc712ce370)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-version: 2.22.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gha-minor
- dependency-name: actions/setup-python
  dependency-version: 7.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: gha-minor
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.39.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gha-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-25 15:38:34 +01:00
Robby Russell 2100c630ba feat(bridgetown)!: update aliases for current CLI (#14197)
BREAKING CHANGE: aliases updated for the latest bridgetown version (2.2.2). Check out the plugin README for the changes.
2026-10-21 12:31:14 +02:00
mattmc3andCarlo Sala 0eeaa529bb feat(git-commit): use git-dash commands (#12628)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2026-10-20 11:44:08 +02:00
dependabot[bot] f888be4bec chore(deps): bump the gha-minor group with 3 updates (#14193)
Signed-off-by: dependabot[bot] <support@github.com>
2026-10-20 11:26:42 +02:00
umutcagand 0650a25040 fix(jsontools): read Node.js input from stdin (#14190) 2026-10-19 17:21:44 -07:00
umutcagand 741642d7a9 fix(extract): preserve .lzma and .Z source files (#14191) 2026-10-19 17:21:39 -07:00
Aurantium🍊 84038f144d docs(uv): correct project initialization descriptions (#14184) 2026-10-19 17:21:08 -07:00
冰水泡枸杞andMarkus Towara a208c3a27a fix(docker): create completions cache dir if missing (#14188)
Closes #13679

Co-Authored-By: Markus Towara <mtowara@gmail.com>
2026-10-19 17:17:06 -07:00
Lichao Chen b056a436fe fix(sfdx): remove duplicated 'for' in completion description (#14195)
Signed-off-by: Lichao Chen <lichao_chen@outlook.com>
2026-10-19 17:13:28 -07:00
Robby RussellandCarlo Sala 964ddf789b feat(cli): add Shellsavers terminal animations (#14167)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2026-10-13 11:22:24 +02:00
John D Pell fab613bd93 fix(termsupport): improve Apple Terminal support (#14172) 2026-10-13 10:41:24 +02:00
Robby Russell 1e3960e6f9 feat(opencode): add completion and opc aliases (#14082) 2026-10-13 10:40:23 +02:00
dependabot[bot] cbf4a572ef chore(deps): bump the gha-minor group with 3 updates (#14176)
Bumps the gha-minor group with 3 updates: [step-security/harden-runner](https://github.com/step-security/harden-runner), [actions/upload-artifact](https://github.com/actions/upload-artifact) and [github/codeql-action/upload-sarif](https://github.com/github/codeql-action).


Updates `step-security/harden-runner` from 2.21.1 to 2.22.1
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](https://github.com/step-security/harden-runner/compare/e14015d583714f6e62063499dc959a02595150a1...ccd8616d44fd3846e67624a50d5aad6d37bf2d25)

Updates `actions/upload-artifact` from 7.0.1 to 7.0.2
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/043fb46d1a93c77aae656e7c1c64a875d1fc6a0a...cf430e030ddbb5b0abf93d22962f4752f3646cd9)

Updates `github/codeql-action/upload-sarif` from 4.38.2 to 4.38.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2...24c54180a607b1449ed407dd24f251e4e9147c8d)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-version: 2.22.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: gha-minor
- dependency-name: actions/upload-artifact
  dependency-version: 7.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gha-minor
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.38.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gha-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-13 10:38:57 +02:00
Piotr Minkina 55c9071ee7 feat(docker-compose): add aliases for --watch (#13203) 2026-10-13 10:36:54 +02:00
Rik Wanders 083c339e06 feat(git): add gshs alias for git show --stat (#13249) 2026-10-12 03:55:10 -07:00
Masafumi Koba 417c814e2e feat(rbenv): provide completion for rbenv command (#12891)
Ref https://github.com/rbenv/rbenv/#shell-completions
2026-10-12 03:47:39 -07:00
Pete Johns 7d34868725 perf(mise): regenerate completion only when stale (#13759) 2026-10-12 03:34:33 -07:00