Commit Graph
89 Commits
Author SHA1 Message Date
Carlo Sala fe4b565986 fix(docker): only load old completion if docker <23 2023-06-30 11:41:44 +02:00
Carlo Sala 723af07a56 fix(docker): add static completion script 2023-06-29 13:25:05 +02:00
Carlo Sala b5be2d39e2 fix(nvm): disable lazy-loading if autoload is set
Closes #11748
2023-06-20 09:36:11 +02:00
Carlo Sala 4ba17232da feat(nvm)!: remove soft-deprecated code
BREAKING CHANGE: $NVM_LAZY, $NVM_LAZY_CMD, AND $NVM_AUTOLOAD cannot be
used anymore to tweak nvm plugin. Use zstyle-based configurations
instead.
2023-06-20 08:54:37 +02:00
Carlo SalaandGitHub 6bffaab290 fix(docker): only generate completion for docker >23 (#11754) 2023-06-15 20:06:56 +02:00
Carlo Sala 68f3ebb4de feat(docker): generate completion function
Closes #10825
Closes #10912
Closes #11751
2023-06-15 11:17:27 +02:00
Carlo Sala 46c70406dd feat(nvm): add npx to lazy trigger list
Closes #11740
2023-06-07 18:43:47 +02:00
Carlo Sala d1c64bfda3 fix(autoenv): typo 2023-06-05 10:26:36 +02:00
6101106916 feat(install): deploy installer to install.ohmyz.sh (#11722)
Co-authored-by: Marc Cornellà <hello@mcornella.com>
2023-06-02 21:37:48 +02:00
Carlo Sala 902b79e635 fix(functions): use command env
Closes #11709
2023-05-23 08:43:49 +02:00
Carlo Sala aaf83d37aa docs(theme-and-appearance): reflect properly dcff7a7 changes 2023-05-09 12:10:05 +02:00
Carlo Sala dcff7a7f08 fix(theme-and-appearance): make bsd ls to be default 2023-05-09 12:05:15 +02:00
Carlo Sala c5208867f1 feat(theme-and-appearance): allow disabling gnu-ls in bsd
To disable gnu-ls (`gls`) even if it's installed in freeBSD and macOS
you can set it up with:
```zsh
zstyle ':omz:lib:theme-and-appearance' gnu-ls no
```

Closes #11647
2023-05-06 13:39:01 +02:00
Carlo Sala 85fdbfe216 fix(apple): go back to previous icon
Turns out that <U+F8FF> is a reserved unicode code that is Apple logo in
Apple systems.
Nerd fonts was overwritting that code to other stuff in v2 and that's
why I thought it needed to be replaced.

Closes #11665

This reverts commit 693e3dcc44.
2023-05-03 11:19:41 +02:00
Carlo Sala 693e3dcc44 fix(apple): replace deprecated nerdfonts icon 2023-05-02 10:03:24 +02:00
Carlo Sala b22593cf17 fix(init): avoid overwriting existing aliases
Fix regression introduced in #11550. If an existing alias was present in
the moment of sourcing, and oh-my-zsh aliases were disabled for that
file, it'd be overwritten aswell. See #11658.
2023-05-01 22:52:13 +02:00
Carlo Sala 5fc1118fd2 chore(azure): fix typo 2023-04-27 19:46:29 +02:00
Carlo Sala 65699912be fix(azure): recognize properly linuxbrew
Closes #11644
2023-04-27 19:46:29 +02:00
Carlo Sala d889eca726 fix(check_for_upgrade): update properly LAST_EPOCH
Fixes #11617
2023-04-17 20:09:30 +02:00
Carlo Sala e906a3130e fix(azure): look properly for azure config file
Closes #11606
2023-04-08 11:13:30 +02:00
Carlo Sala 029a6d2de8 fix(upgrade): typo in variable check 2023-03-31 15:30:19 +02:00
Carlo Sala fcbdc330ff fix(aws): restore accidentally deleted variable
Closes #11589
2023-03-28 17:03:03 +02: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
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
Carlo SalaandGitHub 8a008e1f51 fix(azure): load completion properly for brew (#11499)
Closes #11497
2023-02-23 23:00:31 +01:00
Carlo Sala aca048814b fix(theme-and-appearance): avoid infinite recursion 2023-02-22 15:35:12 +01:00
Carlo Sala c50bac7b42 fix(terraform): go back to zsh custom completion
Revert fcbfdf42de
2023-02-21 11:20:39 +01:00
Carlo Sala aace3a6144 chore: add .idea directory to .gitignore 2023-02-17 17:30:39 +01:00
Carlo Sala 8a68bf6772 fix(theme-and-appearance): test color ls with $ZSH directory
Fixes #11500
2023-02-16 12:54:23 +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
Carlo Sala f8bf8f0029 fix(sudo): only call redisplay if zle is enabled
Fixes #11322
2023-02-02 11:34:35 +01:00
Carlo Sala 657ad0523d fix(theme-and-appearance): fix diff completion in macOS
Closes #11416
Closes #11454
2023-01-25 18:12:20 +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
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 fe0dd8226d fix(upgrade): do not upgrade if not called from tty
Fixes #11390
2023-01-17 12:48:05 +01:00
Carlo Sala 5b9de6a530 fix(init): remove duplicated check
It was added due to #9039. See https://github.com/ohmyzsh/ohmyzsh/pull/11400#pullrequestreview-1223587420
2023-01-17 12:48:05 +01:00
Carlo Sala 8f0e296dbf feat(nsc): add completion plugin 2023-01-16 20:16:00 +01:00
Carlo SalaandGitHub df658350a3 fix(clipboard): move wsl detection to higher priority (#11440)
Closes #8827
2023-01-15 17:11:29 +01:00
Carlo Sala ca0acf31ef fix(emacs): make alternate-editor work for emacs >28
Closes #11441
2023-01-13 14:42:11 +01:00
Carlo Sala ec0003f2fa ci: update to checkout@v3 to avoid warnings 2023-01-13 12:40:47 +01:00
Carlo Sala 71ca38652b fix(git-extras): type properly __gitex_command_successful calls
Closes #11430
2023-01-06 00:15:04 +01:00
Carlo Sala 3fca9c8933 fix(upgrade): check if git is available and working
macOS seems to break dev tools when updating the system. This should
prevent the previous issues. See #11309

Closes #11420
2023-01-03 10:02:05 +01:00
Carlo Sala b692ff2e15 fix(kubectl): redirect stderr in completion generation
Fixes #11364
2022-12-07 12:20:53 +01:00
Carlo Sala 658eb01d82 refactor(kubectl): standarize completion generation 2022-12-07 12:20:53 +01:00
CarloandGitHub 64bc22aee4 feat(nvm): add silent-autoload setting (#11363)
Co-authored-by: Michał Regulski <regulskimichal@outlook.com>

Closes #10942
2022-12-01 19:44:48 +01:00
Carlo Sala 1c06ea24fb chore(docker): sort and reorganize aliases 2022-11-24 17:49:46 +01:00
Carlo Sala a4392cfc16 feat(docker): update completion
Taken from https://github.com/docker/cli/blob/79dca7a38e9969f9d0694d85adbaf13394d893ac/contrib/completion/zsh/_docker
Closes #10826
2022-11-24 17:49:46 +01:00
CarloandGitHub d93f317450 fix(init): prevent multiple compdump compilations (#11345)
Closes #11341
2022-11-20 08:36:20 +01:00
Carlo Sala 5bce72ef57 docs(yarn): follow omz zstyle bools standard 2022-11-15 20:27:12 +01:00
6d5ba2d6c4 feat(nvm)!: settings now are zstyle-based (#11335)
Co-authored-by: Marc Cornellà <hello@mcornella.com>
2022-11-15 20:23:09 +01:00
Carlo SalaandMarc Cornellà 62929263fa fix(perms)!: change function name from fixperms to resetperms and document caution (#10686)
BREAKING CHANGE: function `fixperms` has been renamed to the more accurate `resetperms`.
Please read the README carefully before using it as it may badly reset the permissions.

Fixes #10648
Closes #10686
2022-11-11 16:49:47 +01:00
Carlo Sala 0145d744a9 fix(git): escape first hyphen in gunwip 2022-11-07 12:59:12 +01:00
Carlo Sala 80fdbc9b91 fix(git): remove unused escape chars
Closes #11176
2022-11-04 19:45:17 +01:00
CarloandGitHub 8487a5536d fix(cli): avoid using column (#11271) 2022-10-18 19:38:47 +02:00
CarloandGitHub 7e3231b846 feat(z): replace rupa/z with agkozak/zsh-z (#11236) 2022-10-18 19:10:55 +02:00
Carlo SalaandMarc Cornellà 818f3de1fa fix(debian)!: remove ar alias
BREAKING CHANGE: This alias needs to be removed because is shadowing
`ar` archiver.

Closes #9304
2022-10-18 19:04:06 +02:00
CarloandGitHub 78e85c7d78 fix(nvm): source nvm script only when used (#11205)
closes #11042
2022-10-06 21:01:56 +02:00
Carlo SalaandGitHub d2dc3bd2da feat(brew): run brew shellenv command at plugin load (#10874) 2022-07-12 18:40:39 +02:00
Carlo SalaandGitHub a879ff1515 fix(nvm): support path from Apple Silicon Homebrew (#10875) 2022-04-22 19:37:57 +02:00
Carlo SalaandGitHub a26d72baa2 fix(init): check for unsafe directories in fpath (#10672) 2022-04-19 19:23:54 +02:00
Carlo SalaandGitHub 0818df057c fix: use python3 for all python invocations (#10832) 2022-04-09 14:45:42 +02:00
141d06b602 fix(cli): turn of commit.gpgsign compatibly with git v1.7.1 (#10679)
Co-authored-by: Marc Cornellà <hello@mcornella.com>
2022-03-31 09:27:58 +02:00
Carlo SalaandGitHub 3f214329d6 chore: removing old completion code (#10616) 2022-03-28 13:38:49 +02:00
Carlo SalaandGitHub 50113a53f3 feat(toolbox): add plugin to show toolbox prompt info (#10685) 2022-03-22 22:39:37 +01:00
Carlo SalaandGitHub 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
Carlo SalaandGitHub e934857537 fix(kubectl): support completion for snap installs (#10727) 2022-02-24 19:23:41 +01:00
Carlo SalaandGitHub 97e6989729 fix(helm): support completion for snap installs (#10723) 2022-02-24 19:23:15 +01:00
Carlo SalaandGitHub 201e9dea59 fix(michelebologna): use $HOST variable instead of running hostname (#10724) 2022-02-24 13:52:52 +01:00
Carlo SalaandGitHub 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 SalaandGitHub 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
Carlo SalaandGitHub 0da33ca22b fix(cli): disable GPG signing in omz pr test to avoid key prompt (#10677) 2022-02-10 11:50:04 +01:00
Carlo SalaandGitHub c41f2e7a09 feat(rbw): add rbwpw function to copy passwords to the clipboard (#10639) 2022-02-09 22:55:05 +01:00
Carlo SalaandGitHub d9c58d5fa1 feat(yarn): add setting to disable adding global dir to $PATH (#10642) 2022-02-03 14:42:47 +01:00
Carlo SalaandGitHub eabec36586 style(init): use consistent code style in init script (#10601) 2022-01-28 23:28:19 +01:00
Carlo SalaandGitHub 4417faf84c feat(postgres): support Homebrew for Apple Silicon (#10618) 2022-01-24 17:45:09 +01:00
Carlo SalaandGitHub 540b2200af feat(sudo): respect $SUDO_EDITOR and $VISUAL, switch to sudo -e (#10596) 2022-01-18 18:46:14 +01:00
Carlo SalaandGitHub 93cea53618 fix(yarn): update completion (#10579)
Fixes #10578
2022-01-12 12:19:34 +01:00
Carlo SalaandGitHub df4508ad54 feat(volta): add dynamic completion generation (#10515) 2021-12-28 15:55:47 +01:00
Carlo SalaandGitHub 543d6c0db1 feat(rbw): add completion for rbw Bitwarden client (#10346) 2021-12-28 15:54:59 +01:00
Carlo SalaandGitHub 79531f7013 feat(pip): alias pip to pip3 if pip is missing (#10431) 2021-12-28 14:36:32 +01:00
Carlo SalaandMarc Cornellà 89a740be2d refactor(rust)!: merge cargo and rustup plugins into rust plugin (#10270)
BREAKING CHANGE: `cargo` and `rustup` plugins have been moved to the `rust` plugin
since they're part of the Rust toolchain. If you're using these, update your .zshrc
file to use `rust` instead.

Closes #10270

Co-authored-by: Marc Cornellà <hello@mcornella.com>
2021-12-28 12:05:04 +01:00
Carlo SalaandGitHub 98a916b2cf feat(yarn): upgrade completion to latest version (#10516) 2021-12-23 19:45:28 +01:00
Carlo SalaandGitHub 44c6a71243 feat(deno): adding drA alias for --allow-all (#10501) 2021-12-17 15:40:57 -08:00
Carlo SalaandGitHub bf7c1b160d fix(git)!: rename gdu alias to gdup (#10263)
BREAKING CHANGE: the `gdu` alias has been renamed to `gdup` to avoid a
conflict with `go disk usage` (https://github.com/dundee/gdu).
2021-10-06 10:13:38 +02:00
Carlo SalaandGitHub 450acc0113 fix: automatically create completion for cargo and rustup plugins (#10087) 2021-09-07 20:02:20 +02:00
Carlo SalaandGitHub 63a7422d8d fix(deno): actually load deno completion (#9863) 2021-04-26 11:54:53 +02:00