Commit graph

4337 commits

Author SHA1 Message Date
Roeniss Moon
9139d30ca3
feat(aws): allow more customisation in prompt function (#11619) 2023-04-19 15:46:10 +02:00
Mark Keisler
673b9fc331
feat(aws)!: improve aws_change_access_key (#11378)
BREAKING CHANGE: This commit removes compatibility for `aws` cli v1. Now only v2 is supported.
2023-04-18 10:36:07 +02:00
Eddie Romanov
bd5ebba834
feat(pipenv): add pupd alias (#11616) 2023-04-16 09:49:04 +02:00
Josh McKinney
b4f9698733
docs(ssh-agent): macOS and p10k advices (#11612) 2023-04-11 10:41:00 +02:00
deimosian
4586808f86
feat(archlinux): improve update function messages (#11608) 2023-04-09 12:58:38 +02:00
deimosian
90ec2d1a68
fix(archlinux): keyring update function (#11607) 2023-04-09 10:24:55 +02:00
Aleks
ad99f0c164
feat(git): add merge squash alias (gms) (#10937) 2023-04-08 13:36:54 +02:00
Carlo Sala
e906a3130e
fix(azure): look properly for azure config file
Closes #11606
2023-04-08 11:13:30 +02:00
deimosian
9b1ef262bc
feat(archlinux): unify upgrade function (#11597)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-04-07 13:43:45 +02:00
Alexander Huynh
01c82c381d
fix(jump): even spacing between marks (#11601) 2023-04-07 13:35:12 +02:00
Marc Cornellà
49d34d00cd
fix(extract): fix conflict if compressed file has a folder of the same name
This change fixes the case where the compressed file (e.g. tools.tgz) only
contains a folder with the same name (e.g. tools) in its root folder.

tools.tgz:
|- tools
   |- fileA.txt
   |- fileB.txt
   \- fileC.txt

In that case, the "smart" folder creation mechanism will extract the files in
a folder "tools", and this extraction folder will contain a single folder with
the same name.

Before this fix, the tool would try to move out the inside folder to the parent
one, but there would already be a folder named "tools", so it would generate a
conflict.

This change first renames the inside folder to a random string, and only then
it is moved outside and the old extraction folder is deleted.
2023-04-06 21:06:16 +02:00
François M
cf0c800492
feat(toolbox)!: rename and add aliases (#11580) 2023-04-06 15:11:52 +02:00
Richard Mitchell
33aadeced0
feat(term_tab): add support for macOS (#11391) 2023-04-04 23:52:16 +02:00
Marc Cornellà
d47e1d65f6
fix(extract): safely remove extract directory
The previous code would remove the extract directory if the command failed.
This could be bad because we're not checking if the extract directory
already existed (since we're using `mkdir -p`), so it could be possible
that the extract operation failed, and we'd be removing a directory that
already existed and had files in it.

This change only removes the directory if there are no files in it, regardless
of whether the extract operation was successful or not. This is much safer.
2023-04-02 16:33:54 +02:00
Marc Cornellà
75405b7b0a
feat(extract): always extract files into its own folder (#11596) 2023-04-02 14:28:01 +02:00
Marc Cornellà
f7d903f3a3
fix(vi-mode): fix cursor change on visual mode (#11586)
Fixes #11586
2023-04-02 13:40:49 +02:00
Saverio Guzzo
68005b8870
docs(spotify): fix link (#11593) 2023-04-02 12:54:55 +02:00
Marc Cornellà
cc99132104
fix(vi-mode): fix check for prompt redisplay on mode change (#11547) 2023-03-31 07:51:10 +02:00
Carlo Sala
fcbdc330ff
fix(aws): restore accidentally deleted variable
Closes #11589
2023-03-28 17:03:03 +02:00
Jose C. Massón
5efcfc3973
feat(juju): add functions to get current controller and model (#11572) 2023-03-23 09:42:20 +01:00
Carlo Sala
f9f01e48a8 fix(aws): do not print region if it's not defined
Closes #11568
Closes #11570
2023-03-21 16:06:45 +01:00
Yu Xiang Zhang
4a39779067 feat(aws): set region when AWS_REGION is not set 2023-03-21 16:06:45 +01:00
vladislav doster
82d261603d
feat(gnu-utils): add gindent (#11569) 2023-03-20 08:11:03 +01:00
Zhong Zheng
92387d9fff
feat(rails): add rta alias (#11553) 2023-03-10 15:52:44 +01:00
Benjamin Lieb
3ea0e0d234
docs(vi-mode): document how to add vi-mode info on the prompt (#11548) 2023-03-08 09:29:21 +01:00
Julien Vincent
e0f92c8df5
feat(vi-mode): add settings for vi-mode cursor styles (#10860) 2023-03-07 20:46:21 +01:00
potato
46fd7972a2
feat(aws): add AWS_REGION to aws_prompt_info (#10062) 2023-03-07 13:33:16 +01:00
Karim Benbourenane
06c16175ea
fix(aliases): group properly aliases (#11546) 2023-03-07 09:25:34 +01:00
Carlo Sala
3b759c5dc9
fix(argocd): typo in filename 2023-03-06 11:25:47 +01:00
Carlo Sala
6f3304f442
feat(argocd): add completion plugin
Co-authored-by: Sumudu Lansakara <sumudu.lansakara@ppro.com>

Closes #9900
2023-03-04 09:26:05 +01:00
Batuhan Şanlı
14978859c5
docs(brew): remove duplication (#11535) 2023-03-02 10:03:50 +01:00
Julian Suarez
a4a9a8cd8c
feat(rvm): add rb32 alias (#11533) 2023-03-01 11:23:32 +01:00
Marc Cornellà
b602e0a066
fix(aliases): fix regression in filter argument 2023-02-27 20:46:42 +01:00
ZYX
f42c965da4
fix(aliases): clarify how to pass in keywords to acs (#11521)
Co-authored-by: Marc Cornellà <hello@mcornella.com>
2023-02-27 20:39:38 +01:00
Carlos Eduardo Monti
21bdb18b2d
feat(nodenv): add plugin for nodenv (#9880)
Co-authored-by: Matthew Boston <matthew@matthewboston.com>
2023-02-27 20:22:39 +01:00
Richard Mitchell
16050ab80e
feat(macos): allow multiple man pages in man-preview (#11365) 2023-02-26 22:40:44 +01:00
Marc Cornellà
cd647b6dc6
fix(gnu-utils): reset ls alias to use GNU-based --color argument (#11527)
Fixes #11503
2023-02-26 15:44:18 +01:00
Zoltán Reegn
bd9c216fe0
feat(iterm2): add shell integration script (#11509) 2023-02-24 17:27:15 +01:00
Carlo Sala
8a008e1f51
fix(azure): load completion properly for brew (#11499)
Closes #11497
2023-02-23 23:00:31 +01:00
冯不游
a24e91908a
feat(marked): remove unnecessary code 2023-02-22 12:14:29 +01:00
冯不游
221eb9b90a
feat(marktext): add plugin
Closes #11507
2023-02-22 12:14:22 +01:00
Filippo Bonazzi
a4f08ad238
feat(extract): support obscpio format (#11511)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-02-22 10:16:28 +01:00
rohitbahekar
9f9d3b7d24
feat(terraform): add tfc alias (#10815) 2023-02-21 11:23:04 +01:00
Carlo Sala
c50bac7b42
fix(terraform): go back to zsh custom completion
Revert fcbfdf42de
2023-02-21 11:20:39 +01:00
Francesco Ilario
8c808da23c
feat(git): add aliases for gone branches (#9250)
Closes #8457 
Closes #9973
2023-02-20 15:35:58 +01:00
guenthgr
cc73a929f6
feat(git): add gpod alias
Closes #11501
2023-02-17 17:30:39 +01:00
Juan Antonio Ramírez
25368f9a65
fix(gcloud): add location of latest snap install (#11502)
Latest snap installs gcloud at /snap/google-cloud-cli, so add that to
the list of possible locations.
2023-02-17 08:09:00 +01:00
Ruben van Erk
ed407466b8
docs(lando): php support (#11491) 2023-02-12 16:05:06 +01:00
GrandZhuo
3e1c0d51cb
fix(fzf): installation dir for brew M1 (#11490) 2023-02-12 09:53:04 +01:00
Bartek Pacia
f9104d155f
fix(gradle): move compdef line (#11488) 2023-02-11 20:54:20 +01:00
Bartek Pacia
0e9e5360c4
feat(gradle): update completion from upstream (#11485) 2023-02-09 12:24:39 +01:00
Carlo Sala
45571bfa03
fix(git): gpristine requires two --force flags
Fixes #11483
2023-02-08 11:35:48 +01:00
Carlo Sala
87f1941d27
docs(git): remove duplicated line 2023-02-07 16:17:07 +01:00
Julien Rottenberg
379fe0fe13
feat(azure): add azure plugin (#8848)
Co-authored-by: hagridaaron <hagridaaron@gmail.com>
Co-authored-by: Terry <tmoschou@gmail.com>

Closes #8847
2023-02-07 12:33:59 +01:00
Andrew Stone
3fd63fdf01
feat(zsh-interactive-cd): sync version with upstream (#11024) 2023-02-06 12:09:37 +01:00
Unnit Metaliya
d48cbb82b1
feat(git)!: add force-if-includes flag (#11481)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>

Closes #11388

BREAKING CHANGE: `gpf` and `gpsupf` now have the `--force-if-includes` flag if git version is greater than 2.30. It will make force pushes more safer. See https://stackoverflow.com/questions/65837109/when-should-i-use-git-push-force-if-includes
2023-02-06 12:07:40 +01:00
david
9b91e82560
feat(extract): add zpaq support (#11478) 2023-02-05 08:32:49 +01:00
Carlo Sala
f8bf8f0029
fix(sudo): only call redisplay if zle is enabled
Fixes #11322
2023-02-02 11:34:35 +01:00
David Yang
b256c12d2e
docs(fasd): recommend fork over original fasd (#11474) 2023-02-02 09:03:41 +01:00
Stoyan Dimov
27f31799df
feat(dotnet): add dwt alias (#11470) 2023-02-01 10:51:31 +01:00
Taehyun Hwang
39525e5ec3
feat(git): add gpsupf alias (#11268) 2023-01-28 18:45:23 +01:00
Marc Cornellà
b0bffcaf86
fix(fzf): fix check for true Debian-like in debian setup function (#11460)
Check for `apt` and `apt-get` in debian setup function.
Look for exact directory in debian-like setup function.

Fixes #11459
2023-01-27 16:22:27 +01:00
Marc Cornellà
e55e3f0f56
fix(systemadmin): handle error for no IPv6 route in geteip (#11458) 2023-01-26 20:45:48 +01:00
Carlo Sala
a1c54e03f9
feat(fzf): add skip-dpkg flag to avoid some regressions
See https://github.com/ohmyzsh/ohmyzsh/pull/11122#issuecomment-1399607430
2023-01-22 23:36:57 +01:00
Yuxin Wu
ba8777fc30
perf(fzf): speed up startup on debian (#11122) 2023-01-21 11:36:07 +01:00
Carlo Sala
f1a800067f
fix(brew)!: rename buf alias to bfu
BREAKING CHANGE: rename `buf` alias to `bfu` to avoid conflicts with
protobuf tool
2023-01-19 12:20:44 +01:00
Carlo Sala
61dd3682e6
feat(nats)!: rename nsc plugin to nats 2023-01-17 13:18:43 +01:00
Carlo Sala
8f0e296dbf
feat(nsc): add completion plugin 2023-01-16 20:16:00 +01:00
xiagw
4b5076b5ec
feat(extract): add pbzip2 and pixz (#11435) 2023-01-16 13:19:01 +01:00
Carlo Sala
ca0acf31ef
fix(emacs): make alternate-editor work for emacs >28
Closes #11441
2023-01-13 14:42:11 +01:00
Noam Cohen
eb2147c715
feat(aws): load profiles from credentials file (#11196)
Fixes #8472
2023-01-13 14:35:30 +01:00
Romain Janvier
6dc6646d52
docs(git): add missing entries and run formatter 2023-01-12 13:56:45 +01:00
Jack DeVries
35454190f6
feat(git): use verbose flags in aliases
Closes #11244
Closes #11246
Closes #10101
Closes #11380
2023-01-12 13:51:18 +01:00
Rafael Laurindo
0f71cfd3c1
docs(qrsvg): fix command example (#11436) 2023-01-11 19:54:53 +01:00
Dmndz
4181e8a2cc
feat(yarn): add alias for yarn why (#10773)
* feat(yarn): add `yarn why`
* docs(yarn): update readme

Co-authored-by: Basia Józefowska <jozefowska.b@mpcreation.net>
Co-authored-by: Robby Russell <robby@planetargon.com>
2023-01-09 20:51:50 +00:00
Celestino Gomes
e583648195
feat(qrcode): new plugin to generate qrcode via https://qrcode.show (#10247)
* feat(qrcode): new plugin to generate qrcode via https://qrcode.show

* code fix suggested by @JuniorJPDJ

* Update docs to clarify how to interact with it

Co-authored-by: Robby Russell <robby@planetargon.com>
2023-01-09 20:46:54 +00:00
Robby Russell
046f0ca557
fix(jira): Update README examples to a table format 2023-01-09 20:25:08 +00:00
cxy004
2c2187b09d
fix(macos): fix man-preview for macOS Ventura (#11324) 2023-01-09 20:02:51 +00:00
Arnaud Zheng
e0d0dfb845
feat(jira): support rapid view on rapid board mode (#9459)
* feat(jira): support rapid view on rapid board mode

* Update README to clarify how the rapid board/view works

Co-authored-by: Robby Russell <robby@planetargon.com>
2023-01-09 19:53:32 +00:00
Vladimir
585084354e
feat(jira): add optional plugin "tempo" path (#11121)
CHANGE: added new environment variable JIRA_TEMPO_PATH to allow set an optional path

Co-authored-by: Vladimir Antoscenco <vladimir.antoscenco@tekoway.com>
2023-01-09 19:45:20 +00:00
August Feng
fc722807f8
refactor(jira)!: rename myissues to mine and add completion (#10931) 2023-01-09 19:43:42 +00:00
Alex
9f31951019
fix(jira): Make prefix check on "jira branch" command case-insensitive (#8799)
* Make prefix check on "jira branch" command case-insensitive

* Update plugins/jira/jira.plugin.zsh

Co-authored-by: Marc Cornellà <hello@mcornella.com>

* Fixing tabs to spaces

Co-authored-by: Robby Russell <robby@planetargon.com>
Co-authored-by: Marc Cornellà <hello@mcornella.com>
2023-01-09 19:30:08 +00:00
A2n
bc36043e8f
feature(heroku-cli): Add heroku cli alias (#9073)
*  feat(alias): import alias from local repo

* 📝 feat(alias): import doc form local repo
2023-01-09 19:23:31 +00:00
F. Javier Campa L
fc86a16255
feat(homebrew): Brew greedy upgrade aliases (#9623)
* Added 'greedy' brew upgrade aliases'

* Added a description of the new 'greedy' upgrade aliases

Co-authored-by: Robby Russell <robby@planetargon.com>
2023-01-09 19:07:41 +00:00
Sung kyung Park
746424f161
feat(homebrew): Adding new alias for brew uninstall --zap as buz closes #10329 (#10331)
* Adding new alias for brew uninstall --zap as buz

* Closes #10329

* add buz

* closes #10329

* Fix typo

* Closes ohmyzsh#10329

* Closes ohmyzsh#10329

Co-authored-by: Sung <sungkyungpark@bol.com>
Co-authored-by: Robby Russell <robby@planetargon.com>
2023-01-09 19:02:44 +00:00
Lee Stetson
08c3ce8882
feat(bridgetown): Add plugin for Ruby bridgetown site generator (#10496) 2023-01-09 18:59:02 +00:00
Carlo Sala
71ca38652b
fix(git-extras): type properly __gitex_command_successful calls
Closes #11430
2023-01-06 00:15:04 +01:00
ZigZagT
280c99dae6
feat(git): accept default and mainline as main branches (#11431) 2023-01-06 00:03:12 +01:00
Alastair Rankine
00c37b6991
feat(pipenv): standarize completion generation (#11424)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>

Closes #11423
2023-01-03 09:44:53 +01:00
Ennio Mara
36f1055eee
fix(autojump): use sh file instead of zsh in NixOS (#11425) 2023-01-02 21:55:47 +01:00
Ennio Mara
6710fd588a
fix(autojump): fix autojump sourcing in nix (-darwin) (#11422)
* fix(autojump): fix autojump sourcing in nix (-darwin)

This plugin expects to source an sh/zsh file which sets up autojump, but
that is not done when running Nix on macos using nix-darwin. Looking at
the old value (/etc/profiles/per-user/$USER/bin/autojump), it points to a
binary file instead of the setup script.

* Use zsh file instead of sh
2023-01-02 21:32:45 +01:00
the.brain.w
55e4e6c73b
feat(systemd): add support for user units in prompt (#11417) 2022-12-30 11:52:18 +01:00
Nur Rony
a3c579bf27
feat(maven): add quarkus command support (#11405) 2022-12-26 09:41:30 +01:00
Andrew Starr-Bochicchio
9c2d1af8af
fix(doctl): actually load completions (#11402) 2022-12-20 19:56:30 +00:00
Renjith
2bc42d223c
feat(docker-compose): add dcupdb alias (#10235) 2022-12-17 17:53:48 +01:00
Till Backhaus
13082bb159
feat(watson): add completion (#10886)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2022-12-16 12:46:34 +01:00
kormosi
3705edf557
feat(docker): add drs alias (#11393) 2022-12-15 11:47:10 +01:00
Richard Mitchell
29cf199b5d
docs(term_tab): plugin can only be used with linux and solaris (#11385) 2022-12-12 09:18:29 +01:00
Basil Sh
82c0db41bc
docs(term_tab): rewrite README in markdown (#11381) 2022-12-09 19:11:16 +01:00
Neil Girdhar
cc5100d1e9
feat(pip): add several aliases (#10647) 2022-12-09 10:07:52 +01:00