1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-14 09:50:08 +00:00
Commit graph

4674 commits

Author SHA1 Message Date
Marc Cornellà
c13795d4c4
feat(git)!: ask for confirmation in gpf alias (#10169)
- Rename `git push --force-with-lease ...` to `gpff`
- Add a y/n confirmation prompt to `gpf` before running `git push --force-with-lease ...`

BREAKING CHANGE: this change adds a confirmation prompt to the `gpf` alias before
running the potentially destructive `git push --force-with-lease` command. If you
want to force-run the command without having to confirm it, run `gpff`.
2024-08-15 16:48:03 +02:00
Marc Cornellà
d26c4a2766
chore(tmux): add link to iTerm2 integration docs 2024-08-15 16:26:46 +02:00
Sebastian Müller
9ba6daa1b5
feat(conda): add conda aliases plugin
Closes #7318
Closed #9691

Co-authored-by: garywei944 <33930674+garywei944@users.noreply.github.com>
Co-authored-by: Marc Cornellà <marc@mcornella.com>
2024-08-14 09:18:18 +02:00
Gentoo
d6f84f3e7d
fix(catimg): add support to magick binary (#12608)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-08-12 11:46:16 +02:00
August Feng
47767bd03c
fix(colorize): support args when input is stdin (#11038)
Co-authored-by: August Feng <au.fengster@gmail.com>
2024-08-11 20:01:39 +02:00
Marc Cornellà
efafef8495
docs: improve several plugin READMEs and add one for ssh plugin 2024-08-09 09:44:46 +02:00
Marc Cornellà
fccaaf2fc6
fix(heroku-alias): fix loading heroku-alias plugin and rework docs 2024-08-08 20:43:20 +02:00
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à
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
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à
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à
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
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
Benedikt Volkmer
5b37e218e5
feat(eza): add hyperlink option (#12545) 2024-07-08 20:19:15 +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
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
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
Tim Abell
0c9b42a863
docs(alias-finder): add some examples (#12502) 2024-06-13 18:08:14 +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
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
vincent
4e8099175e
feat(extract): add support for multi-part 7z (#12484) 2024-06-08 10:48:33 +02:00
Martin Bjeldbak Madsen
e898de0664
fix(eza): icons tab completion (#12483) 2024-06-08 10:47:51 +02:00
K.B.Dharun Krishna
efdfe2f29a
feat(golang): add alias for go mod tidy (#12473) 2024-06-04 15:57:08 +02:00
David LJ
e53edd712f
fix(bgnotify): use terminal-notifier args properly (#12467) 2024-06-04 15:55:08 +02:00
EraPartner
228d44d55d
feat(eza): add icons option (#12469)
Co-authored-by: Computer <computer@MAI.local>
2024-06-04 15:54:42 +02:00
Albert
695c7456d1
docs(stripe): fix typo (#12470) 2024-06-03 12:59:01 +02:00
MoetaYuko
56afe7b368
fix(tmux): add completion for alias functions (#12468) 2024-06-03 12:53:27 +02:00
Carlo Sala
e0c6cb1470
chore(yarn): remove unneeded line 2024-05-31 08:55:53 +02:00
Jeroen Claassens
189774c5d0
feat(yarn)!: add optional support for yarn berry (#12374)
BREAKING CHANGE: some `yarn` aliases changed . Please see README for further information.

Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-05-30 20:31:39 +02:00
Carlo Sala
2c08d2b842
fix(kubectl): load completion properly in functions
Closes #12427
2024-05-30 20:21:40 +02:00
Lukas Grimm
a4424dfefd
fix(pass): completion for multiple repositories (#12464) 2024-05-30 17:05:50 +02:00
Ian Chesal
071b8f8921
feat(kitty): add plugin for the kitty terminal (#10994)
* A plugin for the Kitty terminal

Provides a handful of useful aliases for anyone working in a Kitty
terminal. In particular, the kssh command is handy for ensuring that
terminfo is set correctly on remote hosts when  you ssh to them.

* Guard kitty configuration

We should only load these aliases into a terminal that's identifying
itself as an xterm-kitty terminal. They're not useful in any other
situation.
2024-05-28 14:40:30 -07:00
theredcmdcraft
5e59d21e54
Add Support for Tabby Terminal in Macos Plugin (#12451)
* Added Support for Tabby in Macos-Plugin

* Update README.md

Added Supported Terminal List

* chore(macos): Update README to link to terminals

Linking to the supported terminals, moving reference to the original author to the Acknowledgements section

---------

Co-authored-by: Robby Russell <robby@planetargon.com>
2024-05-26 12:53:03 -07:00
Jesús Miguel Benito Calzada
1b29fd3a46
feat(git): support stable in git_main_branch (#12447) 2024-05-23 12:51:02 +02:00
Rizky Ilham Pratama
41d2029dec
feat(laravel): add aliases laravel 11 (#12354) 2024-05-22 09:17:06 +02:00
danielwerg
dfb436b54a
feat(tldr): add tldr plugin (#12429) 2024-05-21 20:58:43 +02:00
ohmyzsh[bot]
f6b3fc84d1
feat(wd): update to version v0.7.0 (#12436)
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
2024-05-21 20:48:54 +02:00
Juho Kuisma
a8a747e18a
feat(fzf): add support for Fedora package (#12421) 2024-05-15 19:14:11 +02:00
ohmyzsh[bot]
b1c5315a5f
feat(wd): update to version v0.6.1 (#12413)
Co-authored-by: ohmyzsh[bot] <54982679+ohmyzsh[bot]@users.noreply.github.com>
2024-05-12 12:42:59 +02:00
Marc Cornellà
d91f4e83ef
fix(fzf): fix missing is-at-least error in setup (#12412)
Fixes #12412
2024-05-12 09:45:26 +02:00
Francesco Ilario
0fabd5f22f
fix(git): add checked-out branch support to gbg* (#12397) 2024-05-10 19:17:18 +02:00
Ilya
d2cf10c29f
feat(procs): add completions plugin (#12406) 2024-05-10 19:16:45 +02:00
Kiran Koirala
9af7ebcf36
fix(nvm): use command cat to avoid alias (#12410) 2024-05-10 12:08:35 +02:00
Kiran Koirala
b1af78d64d
fix(nvm): use nvm version when needed (#12409) 2024-05-10 09:27:47 +02:00
Carlo Sala
8c5f64cc2f
feat(nvm): add corepack to lazy_cmd 2024-05-07 21:30:52 +02:00
Michael Gonzo
22bbc233e9
feat(python): autovenv keeps activated on subdirs (#12396)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-05-07 21:30:23 +02:00
Shai Coleman
668ca3a32d
fix(extract): zst now extracts as expected (#12395) 2024-05-03 21:43:53 +02:00
Antoine
8581ecd462
feat(autojump): add nix-darwin install path (#12389) 2024-05-01 11:04:12 +02:00
Carlo Sala
21963f4f67
fix(fzf): support old fzf versions
Closes #12387
2024-04-30 12:57:05 +02:00
Marc Cornellà
803e1a784c
fix(copybuffer): prevent which alias usage (#12379) 2024-04-25 08:04:18 +02:00
Carlo Sala
5d2d35cd17
fix(poetry-env): do not deactivate in a subdir
Closes #12377
2024-04-23 16:21:21 +02:00
Zikoeng Xi
67581c53c6
fix(ssh-agent): add identity only if identity exists (#12371) 2024-04-22 21:37:17 +02:00
Marc Cornellà
1b5503a3ee
feat(fzf): support fzf setup for 0.48.0 and older (#12367)
Fixes #12355
2024-04-19 21:57:46 +02:00
Jhon Pedroza
b26000d168
feat(tmux): sessions named as current dir (#12351) 2024-04-16 09:52:12 +02:00
Kate Sullivan
31f2025e0f
feat(poetry-env): support changing between two venv dirs (#12346)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-04-12 09:24:54 +02:00
joél hawkins torres
6e9d57d5ab
fix(yarn): use builtin cd in completion (#12347) 2024-04-11 19:27:29 +02:00
Ruize Tang
53c4c4671a
fix(shell-proxy): support ssh-proxy using http proxy in cygwin (#12340) 2024-04-10 15:39:19 +02:00