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
Pedro Barbiero
80ec8cd529
fix(bun): set SHELL
when generating completions ( #12533 )
2024-07-02 17:14:17 +02:00
Turiiya
5233759206
feat(git): add gclf
alias ( #12508 )
2024-07-02 13:30:39 +02:00
dependabot[bot]
dd4be1b6fb
chore(deps): bump requests from 2.31.0 to 2.32.3 in /.github/workflows/dependencies ( #12518 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-28 11:53:03 +02:00
dependabot[bot]
a4313db16a
chore(deps): bump certifi from 2024.2.2 to 2024.6.2 in /.github/workflows/dependencies ( #12519 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-28 11:52:47 +02:00
Marc Cornellà
a87e9c715b
fix(init): fix definition order for $ZSH_CUSTOM
...
Tipped about this in https://github.com/ohmyzsh/ohmyzsh/commit/6754b7e67#commitcomment-143280115
2024-06-20 19:51:51 +02:00
dependabot[bot]
c432ca0993
chore(deps): bump urllib3
to 2.2.2 in dependencies
workflow ( #12516 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 13:40:27 +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
Sébastien MB
373a1fd585
fix(essembeh): use async prompt ( #12512 )
2024-06-17 21:38:21 +02:00
Carlo Sala
7e4ee3a3cd
fix(encode64): use proper encode file flags
...
Fixes #12509
2024-06-17 20:37:21 +02:00
ohmyzsh[bot]
677f5010da
feat(wd): update to 498695ff ( #12507 )
...
Closes #12489
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
2024-06-16 08:44:44 +02:00
Marc Cornellà
6fe78e0629
chore: better document top-level custom files for aliases ( #12504 )
...
See discussion in https://github.com/ohmyzsh/ohmyzsh/discussions/12504
2024-06-15 17:39:57 +02:00
Tim Abell
0c9b42a863
docs(alias-finder): add some examples ( #12502 )
2024-06-13 18:08:14 +02:00
Nick Glenn
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
Nathaniel.Belles
6c021fd432
fix(timer): skip timer after running clear
( #12370 )
...
Co-authored-by: Marc Cornellà <marc@mcornella.com>
2024-06-12 19:07:01 +02:00
Gabriel Charland
11e84bf4f7
feat(shrink-path): allow for showing N
last-full elements ( #12481 )
...
This commit allows specifying a number of last segments to be fully shown,
either via `-l N` or with `zstyle`.
2024-06-12 18:52:54 +02:00
Mayu Laierlence
6754b7e67b
feat(init): add custom functions and completions to $fpath
( #5644 )
...
Closes #5644
Co-authored-by: Marc Cornellà <marc@mcornella.com>
2024-06-12 12:30:03 +02:00
Manuel Faux
fee61a7c47
fix(screen): Prevent title being overwritten ( #4633 )
...
lib/termsupport.zsh creates titles for screen which take precedence over
titles set by the screen plugin. Unsetting the title() function within
the screen plugin prevent this "race-condition".
2024-06-12 03:19:48 -07: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
Robby Russell
4295aed17b
feat(symfony6): Add plugin for native autocompletion from Symfony 6
...
This reverts commit 83014bd945
.
2024-06-10 16:49:59 -07:00
Robby Russell
83014bd945
Revert "Add plugin for native autocompletion from Symfony 6 ( #11999 )" ( #12493 )
...
This reverts commit 166b9dcfdc
.
2024-06-10 16:47:55 -07:00
Malte Schlüter
166b9dcfdc
Add plugin for native autocompletion from Symfony 6 ( #11999 )
2024-06-10 16:46:33 -07:00
baltic-tea
b7e05f1366
feat(poetry): add aliases ( #11858 )
2024-06-10 16:45:09 -07:00
Marco Eidinger
6ffdf8e008
feat(swiftpm): update completion for Swift 5.9 ( #12044 )
2024-06-10 16:40:03 -07:00
Sergey Karpuk
a4304dd7e5
feat(docker): add aliases for docker ps
and docker ps -a
( #12488 )
2024-06-10 16:31:26 -07:00
nitrocode
37f5203abe
feat(terraform): add workspace aliases ( #12171 )
...
* feat(terraform): add workspace aliases
* chore: rm aliases in separate pending pr
* docs: show tfiu alias in readme
---------
Co-authored-by: Robby Russell <robby@planetargon.com>
2024-06-10 16:29:57 -07:00
Michal Szymanski
5a5d5eb85b
feat(forklift): add support for ForkLift 4 ( #12490 ) ( #12491 )
2024-06-10 16:25:53 -07:00
ohmyzsh[bot]
cedbb9e228
feat(history-substring-search): update to 87ce96b1 ( #12486 )
...
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
2024-06-09 08:43:02 +02:00
Carlo Sala
8510847ff3
fix(bundler): add completion for bundler
bin as well
...
Closes #12482
2024-06-08 13:32:27 +02:00