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

6579 commits

Author SHA1 Message Date
Marc Cornellà
a64d940377
refactor(1password): extract opswd function 2022-03-26 15:10:56 +01:00
Suchandra Thapa
4dce175e0e
feat(fzf): support fzf installed with MacPorts (#10794) 2022-03-24 12:21:36 +01:00
Carlo Sala
50113a53f3
feat(toolbox): add plugin to show toolbox prompt info (#10685) 2022-03-22 22:39:37 +01:00
Wayne Lloyd
c96fc233c4
fix(gpg-agent): suppress errors from gpgconf (#10769) 2022-03-18 13:11:00 +01:00
Leon
f0b5cb1330
feat(terraform): add alias tfo for terraform output (#10667) 2022-03-18 13:09:05 +01:00
thinszx
4a988c4660
fix(updater): change remote using deprecated git: protocol (#10779) 2022-03-17 12:54:47 +01:00
Bunyamin Shabanov
0f2715bb45
docs: add Table of Contents to README (#10766)
Co-authored-by: Mohan Sha <mohansha@outlook.com>
2022-03-14 18:09:45 +01:00
Marc Cornellà
3459768745 perf(dash): improve dash completion performance 2022-03-14 13:19:00 +01:00
Marc Cornellà
c4699f8ee1 fix(dash): fix "no application knows how to open URL" error (#10767)
Fixes #10767
2022-03-14 13:19:00 +01:00
Marc Cornellà
c10241f3d1
chore: add Carlo sponsorship 2022-03-10 12:58:46 +01:00
Marc Cornellà
40f49342f5 fix(rails): bundle more up-to-date zsh-completions completion version
Source: https://github.com/zsh-users/zsh-completions/blob/55d07cc/src/_rails
2022-03-07 22:37:04 +01:00
romanch
98ed582e6a feat(rails): add fmns alias for foreman start (#9600)
Closes #9600
2022-03-07 22:37:04 +01:00
Marc Cornellà
47d313c904 chore(rails): fix comments and docs 2022-03-07 22:37:04 +01:00
Alexey Poimtsev
3075d0c0ab feat(rails)!: run old rake aliases with rails (#9601)
BREAKING CHANGE: we've updated the aliases that run `rake` to use
`rails` instead because that's how they are run since Rails v5.
The old `rake` aliases can still be run by using the `rk` prefix
(e.g. the `rake test` alias has been changed from `rt` to `rkt`).

Closes #9601
Closes #9813
Fixes #10696

Co-authored-by: Vsevolod Voloshyn <seva.voloshin@gmail.com>
2022-03-07 22:37:04 +01:00
Marc Cornellà
4f0b680248
fix(installer): fix $HOME setting if getent is not found (macOS)
Related: https://github.com/ohmyzsh/ohmyzsh/pull/10713/files#r820219899
2022-03-07 11:41:02 +01:00
Marc Cornellà
9350e1ff87
fix(coffee): fix completion bug on missing coffee command (#10759)
This commit fixes the error

  _coffee:49: bad math expression: operand expected at `< 2 '

when the coffee command is missing or the `coffee --version` command fails.

It also uses is-at-least to check for the cut-off version for suggesting
`--lint` and `--require` arguments, instead of using `cut` multiple times.

Fixes #10759
2022-03-07 11:13:18 +01:00
Ivan
93b348b172
feat(rvm): add rb31 shortcut to use ruby 3.1 (#10745) 2022-03-07 10:58:18 +01:00
Eric Semeniuc
d4c939d61e
feat(kubectl): add aliases for replicasets (#10100) 2022-03-07 10:43:05 +01:00
Vitul Rana
3343891ea6
feat(kubectl): add aliases for job management (#9992) 2022-03-07 10:38:56 +01:00
Carlo Sala
f96a900ea3
feat(fzf)!: default to using fd before rg (#10757)
BREAKING CHANGE: if both `fd` and `rg` are installed, default to using `fd`. This
is the recommendation of the ripgrep author, and it's been found to be faster.
If you want to force using `rg`, set the `FZF_DEFAULT_COMMAND` variable.
2022-03-05 19:18:56 +01:00
SBado
af0c3b64b8
fix(updater): prefix cd with builtin when it is aliased (#10753) 2022-03-04 16:54:51 +01:00
Marc Cornellà
46195d3aa7
fix: fix svn branch output in themes: apple, gentoo, kolo, zhann (#10751)
Fixes #10751
2022-03-03 17:53:03 +01:00
Marc Cornellà
04b1b75b9d
style: remove VCS_INFO svn settings from themes that don't enable it 2022-03-03 17:49:12 +01:00
JM" (Jason Meridth)
eaa6024421
feat(autoenv): add path for Apple Silicon Homebrew (#10749) 2022-03-02 20:47:55 +01:00
Marc Cornellà
511ed65408
fix(aws): allow empty prefix and suffix in prompt function (#10744)
Fixes #10744
2022-02-28 10:03:02 +01:00
Marc Cornellà
c81804825c
fix(installer): fix removal of OMZ directory on failure
When the `git init` call fails, the directory is not created,
so the rm command fails with a not found error. This change
checks whether the directory exists before deleting it.
2022-02-25 14:06:19 +01:00
Markus (Vock) Arians
99460351eb
feat(lib): support auto title in foot terminal (#10735)
Co-authored-by: Markus Arians <markus.arians@andrena.de>
2022-02-25 13:29:22 +01:00
Carlo Sala
e934857537
fix(kubectl): support completion for snap installs (#10727) 2022-02-24 19:23:41 +01:00
Carlo Sala
97e6989729
fix(helm): support completion for snap installs (#10723) 2022-02-24 19:23:15 +01:00
Marc Cornellà
28dc8c58ef
refactor(michelebologna): simplify and clean up code 2022-02-24 13:55:00 +01:00
Carlo Sala
201e9dea59
fix(michelebologna): use $HOST variable instead of running hostname (#10724) 2022-02-24 13:52:52 +01:00
Marc Cornellà
0b0af4df6a fix(updater): fix check for latest commit in local repository
The previous check simply compared whether the last commit of the branch
was the same in the local and the remote repository.

This commit also checks whether the remote commit is an ancestor of the
local commit. This fixes the case where the local repository has new
commits after the last published commit.
2022-02-24 13:51:16 +01:00
Marc Cornellà
ff29836562 fix(updater): timeout after 2s on available update check 2022-02-24 13:51:16 +01:00
Marc Cornellà
914b6399e8 fix(installer): silence git init 2022-02-22 21:24:43 +01:00
Marc Cornellà
9b883aa417 fix(installer): set $HOME if not defined (#10680)
Fixes #10680
2022-02-22 21:24:43 +01:00
Marc Cornellà
6f1036293c
refactor(copydir)!: deprecate plugin in favor of copypath
BREAKING CHANGE: the `copydir` plugin is deprecated. Instead of
using `copydir`, use `copypath` which also supports copying
the path of other files or directories specified.
2022-02-22 11:25:31 +01:00
Marc Cornellà
11a23144ad
feat(copypath): add plugin to copy file paths to clipboard (#7569)
Closes #7569
Closes #10714
2022-02-22 11:25:09 +01:00
Marc Cornellà
b00b59364a
fix(vcs_info): don't patch VCS_INFO_formats if not found 2022-02-21 20:30:06 +01:00
Marc Cornellà
ebfd7cb219
ci: cancel current runs on new trigger 2022-02-21 19:27:21 +01:00
Marc Cornellà
07b829c894
fix(vcs_info): quote % in relevant fields on all current Zsh releases 2022-02-21 18:34:28 +01:00
Marc Cornellà
3427da4057
fix(dotenv): actually exit when .env syntax is broken 2022-02-18 19:41:21 +01:00
Marc Cornellà
ef3f7c43a9
fix: apply workaround patch for vcs_info (CVE-2021-45444)
This lib function applies a patch to the VCS_INFO_formats function
in zsh versions from v5.0.3 until v5.8, which don't quote % chars
in some arguments received. Normally that just means that some
% characters in these strings (branch names, directories, etc.)
will be incorrectly parsed as formatting sequences.

With CVE-2021-45444, however, this means that one of these strings
from a malicious source (e.g. a malicious git repository) can
trigger command injection and run arbitrary code in the user's
machine when visiting such git repository.

Zsh 5.8.1 fixes this vulnerability [1], but older vcs_info setups
still need a workaround such as this one to patch the vulnerability.

[1] c3ea1e5d52
2022-02-13 19:07:12 +01:00
Carlo Sala
02b52a03a5
feat(fd): update fd completion to v8.3.2 (#10688)
Source: https://github.com/sharkdp/fd/blob/v8.3.2/contrib/completion/_fd
2022-02-11 21:47:44 +01:00
Carlo Sala
5fad26ca4f
feat(ripgrep): update rg completion to v13.0.0 (#10687)
Source: https://github.com/BurntSushi/ripgrep/blob/13.0.0/complete/_rg
2022-02-11 20:45:09 +01:00
Marc Cornellà
69e2937891
fix(updater): fix input check on non-interactive runs
Reference: https://www.zsh.org/mla/users/2022/msg00067.html
2022-02-11 19:51:52 +01:00
Marc Cornellà
dbd92a62ce
fix(updater): do not swallow 1 character in check for user input
Co-authored-by: Philippe Troin <phil@fifi.org>
2022-02-11 10:04:51 +01:00
Marc Cornellà
7b708519b9
fix(emotty): show error on missing plugin dependencies (#9811) 2022-02-10 18:25:09 +01:00
Sam Cook
6396dfb97f
fix(kubectx): don't error on missing k8s context (#10675) 2022-02-10 17:00:45 +01:00
Zachary Cutlip
1e615b71d6
fix(virtualenvwrapper): only deactivate if virtual env is still present (#10671) 2022-02-10 16:25:23 +01:00
Carlo Sala
0da33ca22b
fix(cli): disable GPG signing in omz pr test to avoid key prompt (#10677) 2022-02-10 11:50:04 +01:00