Commit graph

7,546 commits

Author SHA1 Message Date
ElisarEisenbach
6a976c514a fix comment 2025-08-10 16:35:51 +03:00
ElisarEisenbach
0c5eae7e44 refactor(git): streamline default branch detection in git_main_branch function
Updated the `git_main_branch` function to utilize `git rev-parse` for retrieving the default branch from remote HEAD references. This change simplifies the logic by directly checking if the reference starts with the remote name, enhancing clarity and reliability in branch detection.
2025-08-10 16:33:11 +03:00
ElisarEisenbach
86977d2bdf refactor(git): improve default branch detection in git_main_branch function
Reorganized the `git_main_branch` function to first attempt to retrieve the default branch from remote HEAD symbolic refs for both `origin` and `upstream`. This change enhances the reliability of branch detection by prioritizing symbolic references before falling back to common branch names. The function still defaults to "master" if no main branch is found, maintaining backward compatibility.
2025-07-14 10:47:03 +03:00
ElisarEisenbach
908fdd0fa3 refactor(git): enhance git_main_branch function for better default branch detection
Updated the `git_main_branch` function to first check for the default branch using `git symbolic-ref` for both `origin` and `upstream`. If no symbolic reference is found, it now searches for common branch names in a more structured way. The function retains a fallback to "master" while returning an error if no main branch is found, improving reliability and compatibility.
2025-07-13 18:03:29 +03:00
ElisarEisenbach
65dbf9e267
Update git.plugin.zsh
refactor: use symbolic-ref to determine default branch

Replaced manual scanning of possible main branch names with
`git symbolic-ref refs/remotes/origin/HEAD` for a more reliable and
modern approach to detecting the repository's default branch.

Includes fallback to traditional branch name checks if the symbolic-ref
fails, ensuring backward compatibility.
2025-06-10 19:14:47 +03:00
dependabot[bot]
042605ee6b
chore(deps): bump requests in /.github/workflows/dependencies (#13164)
Bumps [requests](https://github.com/psf/requests) from 2.32.3 to 2.32.4.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.32.3...v2.32.4)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.32.4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-10 16:15:59 +02:00
Rob Lugton
3ff8c7ef67
feat(agnoster): add terraform to prompt (#7892) 2025-06-09 20:40:46 +02:00
James Langley
788eaa5930
fix(functions): escape especial chars in WSL (#13158) 2025-06-08 10:25:23 +02:00
AYO_YO
ac5295678f
feat(agnoster): add conda support (#13160)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2025-06-08 10:23:48 +02:00
Yunus Emre Akbalık
95ef251669
feat(dotnet): add restore alias (#13146) 2025-05-29 12:49:56 +02:00
mm503
658240f498
feat(kubectl): add aliases for get events (#13147) 2025-05-29 09:33:01 +02:00
Joaquín Gamboa
6ef47526f8
feat(laravel): add db:wipe alias (#13071) 2025-05-26 13:27:53 +02:00
G'lek Tarssza
095ac3ca8f
feat(cli): add --enabled flag to omz plugin list (#13128) 2025-05-24 12:44:24 +02:00
Hanashiko
ecdc1e722a
docs(rsync): improve README (#13137) 2025-05-24 12:42:44 +02:00
Jonas Geiregat
526969cad3
feat(mvn): add verify aliases (#13133) 2025-05-24 12:40:40 +02:00
Ilia Burtsev
13c702964c
fix(async): ensure git_prompt_status can be registered (#13134) 2025-05-24 12:39:17 +02:00
Hanashiko
d39804a5a6
docs(universalarchive): expand documentation (#13136) 2025-05-24 09:30:14 +02:00
Kalle Ahlström
1ed17ac052
feat(terraform): add init -reconfigure aliases` (#13129) 2025-05-23 15:43:53 +02:00
G'lek Tarssza
0354add542
fix(blinks)!: use default instead of black color (#13123) 2025-05-22 11:27:34 +02:00
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
881c8b78d3
feat(termsupport): add WezTerm support (#13121)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2025-05-18 19:14:44 +02:00
Igor Aleksandrov
c95509ebfd
feat(kamal): add autocomplete support and aliases for Kamal (https://kamal-deploy.org/) (#13080) 2025-05-14 14:48:50 -07:00
Lorenzo Bettini
c34c1da736
docs(vi-mode): explaination for text objects (#13116) 2025-05-12 09:56:26 +02:00
ohmyzsh[bot]
3f8ea81b89
feat(z): update to cf9225fe (#13115)
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
2025-05-11 11:06:03 +02:00
Cyril Plisko
62afbdebb9
feat(jj): add jjgfa alias (#13105) 2025-05-06 17:27:04 +02:00
Hanashiko
51d0e0aa1d
docs(pip): add explanation for aliases (#13103) 2025-05-05 13:00:29 +02:00
dependabot[bot]
8648cd640b
chore(deps): bump charset-normalizer in /.github/workflows/dependencies (#13100)
Bumps [charset-normalizer](https://github.com/jawah/charset_normalizer) from 3.4.1 to 3.4.2.
- [Release notes](https://github.com/jawah/charset_normalizer/releases)
- [Changelog](https://github.com/jawah/charset_normalizer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jawah/charset_normalizer/compare/3.4.1...3.4.2)

---
updated-dependencies:
- dependency-name: charset-normalizer
  dependency-version: 3.4.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-04 17:22:51 +02:00
Carlo Sala
f6a7bbf81a
fix(debian): avoid aptitude hardcoding
Closes #13095
2025-04-29 10:42:28 +02:00
Anand Buddhdev
2ee4f9808f
docs(python): fix typo (#13096) 2025-04-29 10:34:33 +02:00
dependabot[bot]
137bfbbfd1
chore(deps): bump certifi in /.github/workflows/dependencies (#13094)
Bumps [certifi](https://github.com/certifi/python-certifi) from 2025.1.31 to 2025.4.26.
- [Commits](https://github.com/certifi/python-certifi/compare/2025.01.31...2025.04.26)

---
updated-dependencies:
- dependency-name: certifi
  dependency-version: 2025.4.26
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-27 14:55:23 +02:00
Michael Elliot
476a7fc89e
chore: fix typo (#13089) 2025-04-27 10:26:11 +02:00
ohmyzsh[bot]
44913a1f16
feat(wd): update to v0.10.0 (#13093)
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
2025-04-27 10:25:02 +02:00
Carlo Sala
959b6cf5ee
fix(emacs): do not emit ANSI escape codes in vterm
Closes #13067
2025-04-24 15:42:26 +02:00
Adam Page
de1ca65dca
feat(procs): support completion for procs<0.14 (#13053)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2025-04-19 21:08:03 +02:00
Arthur
92bad89f8a
docs(asdf): update usage example (#13055) 2025-04-19 20:55:23 +02:00
Roeniss Moon
9957e4e8be
feat(git): add gcfu alias for commit --fixup (#13027) 2025-04-19 20:48:34 +02:00
deimosian
b92874c716
fix(archlinux): properly check keyring version (#12979) 2025-04-19 20:44:45 +02:00
Pedro A. Aranda Gutiérrez
95a0ece8d3
fix(agnoster): respect bg / fg user envs (#12897)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2025-04-19 20:19:23 +02:00
Nicholas Wilson
afbbdd6099
docs: fix typos (#13061) 2025-04-19 19:58:05 +02:00
Kat R.
a7426f0b38
fix(git-prompt): use --git-common-dir to load stash count (#13072) 2025-04-19 19:49:16 +02:00
swivelmargarita
c1e5ff3169
fix(branch): handle branches with / properly (#13063)
Co-authored-by: Takha Polat <takha.polat@bell-sw.com>
2025-04-17 16:57:53 +02:00
dependabot[bot]
a84a0332a8
chore(deps): bump urllib3 in /.github/workflows/dependencies (#13065)
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.3.0...2.4.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-13 23:11:55 +02:00
Sidar
750d3ac4b4
fix(macos): use command man instead of man (#13046) 2025-04-03 16:38:51 +02:00
Carlo Sala
f81259fb34
fix(cli): support noexec environments (#13042)
Closes #13032
2025-03-29 12:55:20 +01:00
Carlo Sala
a78d006faa
fix(asdf)!: remove legacy <0.16 integration
`asdf` plugin only supports asdf 0.16 and ahead from now on.
2025-03-29 10:47:03 +01:00
Kartik Vashistha
2f3a141f65
docs(asdf): match README with 0.16 (#13026)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2025-03-29 10:42:46 +01:00
Mikrz
346c09d469
fix(dnf): function name typo (#13040) 2025-03-29 10:40:25 +01:00
Roeniss Moon
506cedb7ca
chore(alias-finder): code style (#13038) 2025-03-29 10:38:29 +01:00
Chriss
fa396ad771
feat(docker): add alias for stats (#12988) 2025-03-25 18:04:39 +01:00
Roeniss Moon
4efdc90dba
docs(docker): add section for podman's docker wrapper (#13024) 2025-03-25 18:03:02 +01:00