Commit Graph

7439 Commits

Author SHA1 Message Date
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
Philip H.
e83c10e0a0
chore(brew): duplicated alias (#12596) 2024-08-04 12:58:43 +02:00
Carlo Sala
3b5f018f70
fix(toolbox): avoid prompt injection 2024-08-02 17:00:55 +02:00
SpeakinTelnet
2cb403e89f
feat(toolbox): add function to show toolbox name (#12594)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-08-02 16:37:00 +02:00
Alvin Crespo
0f75203698
feat(docker): add image prune alias (#12520)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-08-01 20:35:49 +02:00
Alessio Perugini
432596e991
feat(arduino-cli): add completion plugin (#12522) 2024-08-01 20:30:25 +02:00
Carlo Sala
5c532a85cf
fix(pyenv)!: do not load if a virtualenv is present
BREAKING CHANGE: `pyenv` will not be loaded at startup anymore if a
virtual env if found to avoid overwriting the expected python version.

Closes #12589
2024-08-01 20:12:16 +02:00
Carlo Sala
2527959e79
fix(vi-mode): don't overwrite settings
Closes #11673
2024-08-01 19:55:05 +02:00
13steinj
bc337e9a9e
docs(brew): remove reference to bubc (#12592) 2024-08-01 17:17:57 +02:00
Marc Cornellà
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
Jonas Geiregat
44ea99e7b9
feat(git): fetch tags in gfa alias (#12558) 2024-08-01 09:01:34 +02:00
Marc Cornellà
d525e80355
chore: fix ordering of sections in README 2024-07-30 23:21:42 +02:00
0x07CB
01a9556574
chore: use uname in ARCHFLAGS in .zshrc template (#12563) 2024-07-28 11:06:44 +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
Kayhan Gültekin
06ced8274d
feat(dircycle): add bindings to go up or down in hierarchy (#12291)
Co-authored-by: Marc Cornellà <marc@mcornella.com>
2024-07-27 16:38:11 +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
Adam Katz
7303385b1f
fix(safe-paste): properly test Zsh version number (#12565) 2024-07-24 14:36:08 +02:00
Philip H
64c2c049aa
feat(brew): add brew autoremove alias (#12574)
Closes #12574
2024-07-24 12:49:49 +02:00
Martin Beentjes
9a0e4f0aca
feat(brew): add brew install alias (#10660)
Closes #10660
2024-07-24 12:49:49 +02:00
Celestino Gomes
8b6f0b1dfb
feat(brew): add aliases for brew services (#10215)
Closes #10215

Co-authored-by: Marc Cornellà <marc@mcornella.com>
2024-07-24 12:49:44 +02:00
Alessandro Agnelli
944203aee3
feat(brew): add aliases for cask and other commands (#8882)
Fixes #8871

Co-authored-by: Marc Cornellà <marc@mcornella.com>
2024-07-24 12:49:19 +02:00
Katrin Leinweber
51d71e650c
feat(brew)!: add brew upgrade alias (#7536)
BREAKING CHANGE: the `bubc` alias has been removed, as `brew cleanup`
is performed automatically. Instead, the `bup` alias is added to just
run `brew upgrade`.

See https://brew.sh/2019/02/02/homebrew-2.0.0

Closes #7536
2024-07-24 12:00:59 +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: 9881778d48
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: d1a557d008
2024-07-23 18:56:01 +02:00
Marc Cornellà
8127e5838c
fix(kubectl): fix kubectl completion for kj, kjx and ky aliases (#12566) 2024-07-21 10:16:30 +02:00
Thomas Krisch
b1e3a82bb5
docs(eza): typo in hyperlink variable (#12561) 2024-07-17 15:51:37 +02:00
Teddy Masters
be10a91277
feat(bira): add conda env information (requires conda-env plugin) (#12546)
Closes #10274
Closes #12546

Co-authored-by: elfisworking <zymustb@126.com>
Signed-off-by: elfisworking <zymustb@126.com>
2024-07-15 19:17:05 +02:00
Marc Cornellà
3012c257bc
refactor(rtx): remove deprecated rtx plugin in favor of mise 2024-07-15 19:04:06 +02:00
Carlo Sala
6b8f72e528
fix(python): avoid local packages load
Closes #12535
2024-07-15 19:03:27 +02:00
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
Carlo Sala
379e974d2b
fix(tmux): do not conflict with rcExpandParam
Closes #12506
2024-07-15 18:45:50 +02:00
Denis Iskandarov
4146c6be21
fix(docker-compose): fix test for docker-compose executable (#12555) 2024-07-15 18:36:07 +02:00
chenzj
fd8f72b276
feat(opentofu): add plugin for OpenTofu (#12285)
- Adds aliases
- Sets up autocompletion
- Adds promp functions to show workspace and `tofu` version

Co-authored-by: Marc Cornellà <marc@mcornella.com>
2024-07-13 19:31:32 +02:00
Marc Cornellà
0b27b15d0b
fix(init): fix subscript flag in 11ca9e2a 2024-07-13 18:32:22 +02:00
Marc Cornellà
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 Khouri
fa583cfb87
refactor(pygmalion): simplify theme logic and prompt sequences (#12550)
* Simplify Pygmalion Theme

The Pygmalion theme previously had some logic for counting line length and taking action based on line length. The action was removed in c52441b624, but the counting still needlessly happens. 

This commit removes the code to count line length, and simplifies the Pygmalion theme by moving the "precmd" into the setup. 

As a bonus unintended side effect, this makes the Pygmalion theme compatible with the current async prompting logic (i.e. after this change, Pygmalion is no longer affected by https://github.com/ohmyzsh/ohmyzsh/issues/12328)

* refactor(pygmalion): redo and simplify prompt sequences

With this commit we put the minimal needed color resets, i.e. only
when we don't control the previous text we need to do a full reset.
Otherwise we can just use %F{} to change only the foreground color.

Co-authored-by: Marc Cornellà <marc@mcornella.com>
2024-07-12 18:18:20 +02:00
Benedikt Volkmer
5b37e218e5
feat(eza): add hyperlink option (#12545) 2024-07-08 20:19:15 +02:00
dependabot[bot]
608d62b2a5
chore(deps): bump certifi in dependencies workflow (#12543)
Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.6.2 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2024.06.02...2024.07.04)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-06 20:51:57 +02:00
Carlo Sala
057f3ec67e
chore: replace all instances of twitter with X
Closes #12536
2024-07-03 08:51:20 +02:00
张新伟
5acaa240d3
feat(battery): support custom AC indicator (#12528) 2024-07-02 17:22:58 +02:00
Luke
bdd9ee3687
docs(command-not-found): mention gentoo support (#12530) 2024-07-02 17:21:21 +02:00
Ihor
35f1d362c1
docs: rename twitter to X, fix link (#12532) 2024-07-02 17:15:22 +02:00