Commit Graph
100 Commits
Author SHA1 Message Date
Carlo Sala 114b58ed4e fix(git): disable locally ksharrays
Fixes #12321
2024-04-04 11:58:43 +02:00
Carlo Sala 6d0362ef2f fix(archlinux): make upgrade work with non-english
Closes #12316
2024-04-04 10:08:28 +02:00
Carlo Sala 8940fa2913 fix(dependencies): copy gradle LICENSE 2024-03-15 19:53:43 +07:00
Carlo Sala fff9ab7619 feat(dependencies): enable gradle plugin 2024-03-15 19:49:24 +07:00
Carlo Sala 32d4389aa6 fix(git): disable temporarely async prompt 2024-03-07 17:17:27 +01:00
Carlo Sala fd01fd66ce perf(nvm): don't call nvm version on every cd
Now we only call `nvm version` in case we changed directory and we are
not anymore in a `.nvmrc` directory.
See https://github.com/nvm-sh/nvm/pull/2874
2024-03-04 11:11:35 +01:00
Carlo Sala 94aa49c0b9 feat(nvm)!: make lazy and autoload options compatible
BREAKING CHANGE: Prior to this commit, if `lazy` and `autoload` options
were enabled at the same time, `lazy` was getting overriden and only
`autoload` was taken into account.
Now they work together and `autoload` will be enabled after `nvm` has
been lazy-loaded.

Closes #11690
2024-03-04 11:11:27 +01:00
Carlo Sala 0ea0d14288 fix(nvm): remove zsh completion
We rely on official bash completion now on.
2024-03-04 10:47:34 +01:00
Carlo Sala 70395a6463 fix(git): do not use += in sh script
Fixes #12251
2024-03-03 11:22:25 +01:00
Carlo Sala 458fc2e1df docs(git-commit): add warning 2024-03-02 10:05:54 +01:00
Carlo Sala b6c1de87b0 fix(git-commit): add omz version check 2024-03-02 10:05:44 +01:00
Carlo Sala 8e088ded82 docs(git-commit): document attention flag 2024-03-02 01:25:20 +01:00
Carlo Sala e3216d15c2 fix(git-commit)!: allow alias update
BREAKING CHANGE: Prior to this commit, git aliases were not being
updated after every update of oh-my-zsh. In case you were using
git-commit plugin before this commit, please remove your git aliases to
proceed.
2024-03-02 01:09:17 +01:00
Carlo Sala 0008534147 fix(tmux): regression with detached sessions
See https://github.com/ohmyzsh/ohmyzsh/pull/12242#issuecomment-1973236605
2024-03-01 16:44:20 +01:00
Carlo Sala 514d5736ea ci: enable dependabot 2024-02-13 17:25:16 +01:00
Carlo Sala 8f22370af8 fix(key-bindings): bind default arrow keys to beginning-search
Fixes #12197
2024-02-12 09:48:38 +01:00
Carlo Sala 43613d7b71 fix(web-search): use pattern instead of regex
Closes #12202
2024-02-07 11:16:36 +01:00
Carlo Sala e656377d36 fix(web-search): encode spaces as %20 2024-01-24 10:10:55 +01:00
Carlo Sala d44ec1492b ci(dependencies): create history-substring-search files as expected 2024-01-16 11:02:07 +01:00
Carlo Sala 530cd7f76b fix(history-substring-search): source properly plugin 2024-01-16 11:02:07 +01:00
Carlo Sala d2ffe8306a feat(history-substring-search): use new dependencies updater 2024-01-16 10:47:06 +01:00
Carlo Sala a9b6af5b23 refactor(minikube): standardize completion generation
Closes #10763
2024-01-02 21:01:17 +01:00
Carlo Sala 544eb17e33 ci(project): use ohmyzsh's bot credentials 2023-12-28 21:21:39 +01:00
Carlo Sala 46b24d4099 ci(dependencies): fix some envs and add requirements 2023-12-28 21:21:39 +01:00
Carlo Sala 8a8a04f43a fix(nvm): prevent duplicates in lazy_cmd
Closes #11344
2023-12-27 10:52:23 +01:00
Carlo Sala 0bb00eddbb ci(dependencies): fix typo 2023-12-20 19:38:25 +01:00
Carlo Sala 18073af622 fix(bgnotify): detect properly if swaymsg is installed
Closes #12053
2023-11-22 15:22:36 +01:00
Carlo Sala 632ed413a9 fix(wd): use (( )) instead of [[ ]]
zsh versions prior to 5.0.6 mark `[[ <num> ]]` as invalid syntax

Closes #12017
2023-11-02 15:49:57 +01:00
Carlo Sala 0e1e877ea9 fix(git)!: remove gt alias
BREAKING CHANGE: `gt` alias clashes with Graphite CLI
(https://graphite.dev). See https://github.com/ohmyzsh/ohmyzsh/pull/11910#issuecomment-1736340910
2023-09-27 08:19:59 +02:00
Carlo Sala c91684bb1b docs(web-search): add youtube entry 2023-09-25 08:20:20 +01:00
Carlo SalaandMatt Cable 7e4c26860d feat(brew): add support for custom BREW_LOCATION
Fixes #11888

Co-authored-by: Matt Cable <github@curiousstranger.org>
2023-09-13 10:48:41 +02:00
Carlo Sala 079dbff2c4 feat(pipenv): add option to disable auto shell feature
Closes #11472
2023-09-06 19:01:41 +02:00
Carlo Sala 8e8ec1348b fix(git-commit): avoid conflict with aliases var
Closes #11876
2023-09-06 10:54:13 +02:00
Carlo Sala 03a0d5bbae fix(clipboard): load clipboard on usage
Closes #8827
2023-08-24 17:25:51 +02:00
Carlo Sala fd219a94ab docs(aliases): replace screenshot
Closes #11837
Closes #11822
2023-08-10 15:39:42 +02:00
Carlo Sala 6925c44af4 fix(aliases): rename acs to als in script help
Closes #11812
2023-07-25 01:22:39 +02:00
Carlo Sala 7d5e12500a feat(docker): add legacy-completion option 2023-07-20 10:43:56 +02:00
Carlo Sala 7cf00a0b5c fix(nvm): remove nvm not found verbose message 2023-07-19 14:46:35 +02:00
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