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
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
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à
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à
3427da4057
fix(dotenv): actually exit when .env syntax is broken
2022-02-18 19:41:21 +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
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
sed-i
aaaa55424a
refactor(juju)!: use the jsh prefix for juju show-*
commands ( #10426 )
...
BREAKING CHANGE: some aliases have been renamed to be consistent with the rest.
Mainly, aliases for `juju show-` commands are renamed to `jsh*`. This also means
that `jsh` and `jshc` have been renamed to `jssh` and `jsshc`. Have a look at the
README for the complete alias changes.
2022-02-10 11:42:24 +01:00
sed-i
564a60608c
style(juju)!: don't show storage status in wjst
for consistency ( #10426 )
...
BREAKING CHANGE: `wjst` will no longer show storage in the status
output. This is done for consistency with the `jst` and `jsts`
aliases.
2022-02-10 11:42:23 +01:00
sed-i
cdd2d6efc6
feat(juju): introduce additional juju aliases ( #10426 )
2022-02-10 11:42:23 +01:00
sed-i
f045810697
feat(juju): add jclean
function to destroy all registered controllers ( #10426 )
...
Closes #10426
2022-02-10 11:42:16 +01:00
Carlo Sala
c41f2e7a09
feat(rbw): add rbwpw
function to copy passwords to the clipboard ( #10639 )
2022-02-09 22:55:05 +01:00
Michael Favia
897fa09f15
fix(kubectl): fix arguments in keti
alias to allow completion ( #10669 )
2022-02-09 10:25:12 +01:00
Carlo Sala
d9c58d5fa1
feat(yarn): add setting to disable adding global dir to $PATH
( #10642 )
2022-02-03 14:42:47 +01:00
Civan Yavuzşen
4ee0cf3cb4
feat(multipass): add plugin for multipass ( #10140 )
...
Co-authored-by: C. Yavuzsen <cyavuzsen@comscore.com>
2022-02-01 23:48:14 +01:00
Marc Cornellà
0be7c897f8
refactor(zsh_reload)!: remove deprecated plugin
...
BREAKING CHANGE: the `zsh_reload` was deprecated long ago and showed
a deprecation message. The `src` function was replaced by the CLI
command `omz reload`, so use that instead from now on.
2022-02-01 13:11:49 +01:00
Marc Cornellà
73001e9382
refactor(django): remove deprecated django
plugin
...
BREAKING CHANGE: the `django` plugin was deprecated in 2021-09-22. With
this change it has now been removed altogether. Zsh already provides
built-in completion for Django commands.
2022-02-01 12:56:22 +01:00
Gheritarish
11a87eac47
chore(1password): fix comments to follow code ( #10634 )
2022-01-28 13:47:41 +01:00
Felipe Contreras
6f9650d940
fix(gitfast): update to git-completion 1.3.6 ( #10633 )
2022-01-28 13:45:05 +01:00
ajr-dev
ad8220bc6d
fix(tmux): use $ZSH_TMUX_CONFIG
setting in tmuxconf alias
2022-01-27 21:51:13 +01:00
Marc Cornellà
3741d1aa02
fix(npx)!: detect new npx
versions and fail gracefully ( #10452 )
...
BREAKING CHANGE: the `npx` plugin used a feature of `npx` to check for
npm packages and run them if a command was not found. This feature was
removed in v7.0.0 and was deemed insecure. The `npx` plugin is now
officially deprecated and will be removed soon.
Fixes #10452
2022-01-26 17:13:10 +01:00
Carlo Sala
4417faf84c
feat(postgres): support Homebrew for Apple Silicon ( #10618 )
2022-01-24 17:45:09 +01:00
David Chin
8e7c33bf15
chore(1password): fix typo in opswd
( #10614 )
2022-01-24 16:30:49 +01:00
Ricky Medina
3f5402e268
feat(1password): add plugin for 1password ( #8884 )
...
Co-authored-by: Marc Cornellà <hello@mcornella.com>
2022-01-24 15:21:34 +01:00
kronion
2b492aec93
chore(poetry): remove unnecessary unset ( #10605 )
2022-01-21 19:52:24 +01:00
Billy Mathews
675a2d9922
feat(tmux): add tmuxconf
alias to edit .tmux.conf ( #6555 )
...
Closes #6555
2022-01-20 16:42:49 +01:00
Marc Cornellà
a7efd96a60
fix(dotenv): match for exact directory path in allowed/disallowed files
2022-01-19 19:27:53 +01:00
Marc Cornellà
0b08b70b0c
chore(poetry): fix copy-paste error
2022-01-19 17:15:16 +01:00
kronion
00d0735704
feat(poetry): add plugin to provide completion for Poetry ( #10595 )
2022-01-19 16:49:24 +01:00
Mike Mattice
fe9d87d6dc
feat(aws): accept aws mfa tokencode on acp
cli call ( #10130 )
...
Co-authored-by: Mike Mattice <mmattice@reliant.io>
2022-01-19 15:58:34 +01:00
Marc Cornellà
22c11da108
fix(fig): fix typo in completion command
2022-01-18 21:26:45 +01:00
Marco Franssen
cddf1b6982
feat(fig): add plugin for Fig ( #10432 )
2022-01-18 20:57:07 +01:00
Marc Cornellà
957dca698c
style(sudo): clean code style and reorganise logic
2022-01-18 19:03:27 +01:00
Carlo Sala
540b2200af
feat(sudo): respect $SUDO_EDITOR
and $VISUAL
, switch to sudo -e
( #10596 )
2022-01-18 18:46:14 +01:00
Marc Cornellà
4f2d8b4d4c
fix(kubectl): source completion instead of autoloading it
2022-01-17 16:18:41 +01:00
Marc Cornellà
dfaad779a9
fix(helm): fix completion loading mechanism
2022-01-17 16:18:41 +01:00
Mykola Krachkovsky
1e277553bc
fix(svn): fix sed call in svn_get_rev_nr
( #10590 )
2022-01-14 15:28:39 +01:00
Marc Cornellà
aaebe4c890
fix(mvn): fix listing modules in completion ( #10586 )
2022-01-13 14:29:12 +01:00
Carlo Sala
93cea53618
fix(yarn): update completion ( #10579 )
...
Fixes #10578
2022-01-12 12:19:34 +01:00
Marc Cornellà
9c84c344d7
fix: disable log.showSignature
in git log
calls
2022-01-10 19:39:05 +01:00
Joey Territo
c6e7f8905f
fix(rust): fix cargo
completion when sysroot contains spaces ( #10571 )
...
When generating completions for Cargo, if the Rust sysroot
(i.e. `rustc +${${(z)$(rustup default)}[1]} --print sysroot`) contains
spaces, Cargo completions will not work because the spaces are not
escaped, thus passing two arguments to the "source" command instead of
one. The spaces need to be escaped for this to work.
2022-01-08 20:03:32 +01:00