1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2025-12-12 15:34:50 +08:00
Commit Graph

4815 Commits

Author SHA1 Message Date
Matthew Boston
971fa9a052
Merge bfb0e05ffa into 92aed2e936 2025-12-10 14:09:14 +04:00
Tanzim Hossain Romel
92aed2e936
feat(extract): add unar as fallback for RAR extraction (#13472)
Add unar as a fallback when unrar is not available for extracting
RAR files. This addresses the issue where unrar has been removed
from Homebrew due to licensing issues.

The extraction now:
- Prefers unrar if available (backward compatible)
- Falls back to unar if unrar is not found
- Shows helpful error message if neither tool is installed
2025-12-09 20:14:31 +01:00
Mohaiminus Sakib
72acd2ca90
feat(uv): add more useful aliases (#13462)
Co-authored-by: Mohaiminus Sakib <roddur093@gmail.com>
Co-authored-by: Marc Cornellà <marc@mcornella.com>
2025-12-08 16:57:50 +01:00
Cyril Plisko
a98a9f7122
feat(jj): add jj aliases for common workflows (#13179)
- jj bookmark
    Aliases for bookmark subcommands
- jj git push
    Aliases for popular push flags
- jj new "trunk()"
- jj rebase -d "trunk()"
- jj status
2025-12-05 12:00:56 +01:00
benzlokzik
5f7f419759
feat(uv): add alias for pinning Python version (#12914) 2025-12-05 08:51:45 +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
Firas Bouzguenda
b04e01d418
feat(kubectl): add aliases for kubectl rollout restart (#12883)
Co-authored-by: Marc Cornellà <marc@mcornella.com>
2025-11-22 18:31:03 +01:00
StavShukrunRise
15bcada010
feat(pulumi): add plugin for Pulumi CLI (#13041)
Co-authored-by: Marc Cornellà <marc@mcornella.com>
2025-11-22 18:11:40 +01:00
Carlo Sala
9d93dfaa60
fix(keychain): use pattern matching to detect version (#13423) 2025-11-15 11:39:09 -03:00
Artyom Fedosov
5a282b9b30
chore(git): remove quotes around $# (#13403) 2025-11-14 14:21:32 +01:00
Fournet Enzo
dca16e8f9a
docs(docker-compose): clarify tool choice (#13399) 2025-11-12 07:42:35 -03:00
Oskar Hermansson
a0576348d0
docs(dotnet): remove Core suffix (#13418) 2025-11-11 20:10:26 -03:00
ohmyzsh[bot]
90a22b61e6
feat(gradle): update to 25c3d368 (#13407)
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
2025-11-03 08:30:05 +01:00
Matthew Boston
bfb0e05ffa
fix(git-prompt): improve branch name resolution using symbolic-ref
Problem:
In worktrees, enabling reftable caused the gitfast prompt to sometimes show “.invalid” for the branch name, e.g. `git:(.invalid|SPARSE)`. The cause was gitfast’s __git_ps1 reading $GIT_DIR/HEAD (and sequencer head-name files) directly and attempting to derive the ref name by string slicing. That approach is brittle with worktrees and newer ref backends like reftable.

What changed:
- Prefer `git symbolic-ref --short HEAD` to resolve the branch name.
- Also use `--short` when HEAD is a symlink.
- Keep existing fallbacks (describe/detached SHA) unchanged.

Why this is correct:
- Delegates ref resolution to Git’s ref API, which understands:
  - multiple worktrees (`.git/worktrees/<name>/HEAD`)
  - all ref storage backends (loose, packed, reftable)
  - edge cases around in-progress operations and symlinks
- Avoids parsing internal files that can legitimately be non-canonical or transient (e.g., head-name during rebase, or placeholders that appear as “.invalid” with reftable+worktrees).

Impact:
- Correct branch names in worktrees regardless of ref backend (fixes “.invalid”).
- Detached HEAD behavior remains: still falls back to describe/short SHA.
- `|SPARSE` logic unchanged and still driven by `core.sparseCheckout`.
- Backwards-compatible: older Git that supports `symbolic-ref --short` works; fallbacks still apply if not a branch.

Rationale:
Ref backends like reftable decouple refs from the filesystem layout that gitfast was implicitly depending on. Using Git’s plumbing for branch resolution is the robust, future-proof approach.
2025-10-31 12:19:24 -06:00
Yaroslav Sapak
43e880ba45
feat(vscode): add support for Cursor (#13382) 2025-10-30 19:22:01 -07:00
Mohaiminus Sakib
136298e110
feat(nestjs) Adding NestJS plugin (#13104)
* Adding NestJS command aliases
* Removed installation instructions from the README file of NestJS plugin
2025-10-27 11:37:07 -07:00
ohmyzsh[bot]
969cd28e0d
chore(gradle): update completion to 1525cf3f (#13393)
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
2025-10-26 08:56:26 +01:00
ohmyzsh[bot]
55aa4c40e2
feat(gradle): update to d51199b5 (#13390)
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
2025-10-23 05:23:50 -07:00
Jeconias Santos
bd295c014f
feat(terraform): add aliases for workspace management (#12845) 2025-10-22 19:12:22 +02:00
hanskr
f1934d2c76
fix(git): improve ggu, ggl, gp, ggfl, ggp functions (#13370)
Co-authored-by: Hans Kristian Kismul <hans.kristian.kismul@finn.no>
2025-10-21 11:48:56 +03:00
Florian
caba9ae034
fix(ssh): use grep -E instead of egrep (#13380) 2025-10-21 11:42:04 +03:00
Oleg Atamanenko
d1c04d8a33
chore(task): fix error in README (#13367) 2025-10-15 11:13:54 +02:00
Paul Frederiksen
853680fd62
fix(history-substring-search): honor CASE_SENSITIVE variable (#13360) 2025-10-09 12:52:09 +02:00
Ardeshir Nahavandi Fard
1210973cbc
fix(flutter): fix captured keyboard during completion generation (#13350) 2025-10-05 09:16:44 +02:00
Carlo Sala
d57775d89e
fix(git): replace whatchanged with log (#13338)
Closes #13333
2025-09-29 08:41:24 +02:00
DE SILVA T R R
1237525b23
docs(common-aliases): fix tar.gz command (#13332) 2025-09-29 08:32:18 +02:00
Christian Kilmer
763aab3271
fix(command-not-found): support latest homebrew (#13327)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2025-09-23 11:57:21 +02:00
jayant011797
c1e9748909
docs(tldr): state that tldr should be installed separately (#13298) 2025-09-19 15:51:23 +02:00
Lin
34d6932b08
feat(task): add completion plugin (#13313) 2025-09-19 15:41:21 +02:00
Denys Dovhan
2b2d6d746c
fix(bgnotify): use lsappinfo, add support for ghostty (#13314) 2025-09-19 15:39:50 +02:00
Carlo Sala
9e23925b85
fix(magic-enter): check for cmd existance before executing
Closes #13294
2025-09-10 09:30:04 +08:00
Conor Meagher
7b516064ec
feat(brew): add three more aliases (#13285) 2025-09-06 13:49:07 +08:00
Carlo Sala
9ad0ce6482
fix(magic-enter): avoid unexpected console output
Closes #13290
2025-09-06 12:19:49 +08:00
G'lek Tarssza
26863c50b3
docs(gpg-agent): clarify plugin purpose (#13289) 2025-09-06 09:55:42 +08:00
Max Modesto Wallin
b9c9fcfd3f
feat(repo): auto-complete docs rebase update-refs (#13286) 2025-09-05 08:06:24 +08:00
David Chin
680298e920
feat(spackenv): Adding Spackenv plugin (#13191)
* Add spackenv plugin to handle Spack environment

* Use ":t" instead of 'basename'
2025-09-01 12:02:29 -07:00
Benjamin Bock
61b144d809
feat(magic-enter plugin): Add support for jj to magic-enter plugin (#13241) 2025-09-01 11:47:54 -07:00
ymlair
9d00a004b2
feat(tt): add plugin tt (#8273) 2025-09-01 11:37:37 -07:00
Kevin S Kirkup
10b750af26
feat(kompost): Add plugin for kompose (#7729)
Co-authored-by: Kevin S Kirkup <kevin.kirkup@pureport.com>
2025-09-01 11:28:12 -07:00
ElisarEisenbach
2525dae661
feat(git): use remote default branch to guess main branch (#13212)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2025-08-26 11:13:21 +08:00
Dennis Dashkevich
266bc17ab3
fix(chruby): avoid adding PATH entries twice (#12980) 2025-08-26 10:51:00 +08:00
0xHouss
736632228a
feat(copyfile): add error handling (#13248) 2025-08-16 21:31:40 +02:00
Jérémy
7504f22a0c
feat(battery): add wattage for macOS (#13258) 2025-08-16 21:28:32 +02:00
Patrick W. Healy
5d37f723f6
fix(asdf): avoid prepending path entry multiple times (#13268) 2025-08-16 21:17:14 +02:00
Carlo Sala
8bd49fb047
fix(virtualenv): take into account $VIRTUAL_ENV_PROMPT
Closes #13262
2025-08-16 18:27:53 +02:00
lucas
2423b7a12d
docs(web-search): add missing entries (#13263) 2025-08-13 10:14:21 +02:00
Jacob Rogers
801f09c1ca
fix(poetry-env): add support for poetry 2 (#13260) 2025-08-12 10:37:03 +02:00
drjaska
9d8d4cf414
feat(extract): support .pk{3,4,7} files (#13254) 2025-08-08 11:23:24 +02:00
xusd320
ef96242b9b
feat(web-search): add crates.io, docs.rs (#13250) 2025-08-07 08:46:00 +02:00