Commit Graph
66 Commits
Author SHA1 Message Date
Marc Cornellàandyyny b79726b1c3 fix(update): silence typeset calls in upgrade.sh script (#10048)
Co-authored-by: yyny <6576327+yyny@users.noreply.github.com>
2021-09-16 17:01:58 +02:00
Marc Cornellà 93b557e291 style(core): make alternative cache directory equivalent to Arch Linux package
The oh-my-zsh-git package sets the cache directory to `$HOME/.cache/oh-my-zsh`, so
Oh My Zsh will be compatible with it.
2021-09-15 20:45:26 +02:00
Marc Cornellà 8784e88552 fix(core): use $HOME/.cache if default cache dir is non-writable (#10193)
Fixes #10193
2021-09-15 20:38:54 +02:00
Marc Cornellà eb2eacaf0c refactor(plugins): remove old generated completion files
This removes .gitignore plugin files and adds a force-rm of the old completion file,
which ignores any errors if the file doesn't exist.
2021-09-15 18:47:51 +02:00
Marc Cornellà d2269180b0 fix(core): move plugin-generated completion files to $ZSH_CACHE_DIR/completions
Fixes #10183
2021-09-15 18:41:44 +02:00
Marc Cornellà 4e6e49652b fix(plugins): fix _comps error in completion generation plugins (#10190)
Fixes #10190
2021-09-15 18:18:25 +02:00
Marc Cornellà c21ff38b8f fix(docker): remove unwanted asterisk in completed docker commands
Also update upstream completion to version fe2008d04e80fafd.

NOTE: this fix means the version bundled within Oh My Zsh has diverged
from the upstream version.
2021-09-15 17:47:57 +02:00
Marc Cornellà 735808f48d Revert "feat(ssh-agent): only start ssh-agent once (#5359)"
This reverts commit 7692881d2a.
2021-09-10 18:01:43 +02:00
Marc Cornellà 81edb03c52 fix(copybuffer): define CTRL+O binding for all keymaps (#6442)
Fixes #6442
2021-09-10 17:07:22 +02:00
Marc Cornellà 37a60eebc1 chore(changelog): fix first-letter uppercase in breaking change messages 2021-09-07 17:13:46 +02:00
Marc Cornellà f341c8c206 feat(changelog): print BREAKING CHANGE messages in a prettier way 2021-09-07 17:08:46 +02:00
Marc Cornellà 5a4159cd29 fix(git)!: rename git mergetool aliases to gmtl* (#9154)
BREAKING CHANGE: the `gmt` alias conflicts with the Generic Mapping Tools command.
For that, the `gmt` alias has been renamed to `gmtl`, and `gmtvim` has been renamed to
`gmtlvim` for consistency.

Fixes #9154
2021-09-06 13:31:13 +02:00
Marc Cornellà 7336ebcd8f feat(changelog): change style of BREAKING CHANGES header 2021-09-06 13:31:12 +02:00
Marc CornellàandPandu POLUAN 1b03896a0e feat(pyenv): don't load pyenv-virtualenv with ZSH_PYENV_VIRTUALENV=false
Closes #9443

Co-authored-by: Pandu POLUAN <pepoluan@gmail.com>
2021-09-03 12:57:13 +02:00
Marc Cornellà 823be4ef5f feat(pyenv): silence bad config warning with ZSH_PYENV_QUIET=true 2021-09-03 12:54:45 +02:00
Marc CornellàandChloé “Matcha” c08fb77c2f fix(pyenv): properly load pyenv shims and warn of broken configuration
Closes #10133

Co-authored-by: Chloé “Matcha” <chloe.desoutter@gmail.com>
2021-09-03 12:47:31 +02:00
Marc Cornellà 21b385e7bd fix(frontend-search): fix codepen.io search (#10157)
Fixes #10157
2021-09-02 12:29:04 +02:00
Marc Cornellà 190325049e fix(sudo): allow different $EDITOR settings and fix zsh-syntax-highlighting redraw 2021-08-27 18:08:51 +02:00
Marc Cornellà a1847dc860 style(sudo): apply main style guide indentation 2021-08-27 18:08:51 +02:00
Marc Cornellà 4a69ee575c feat(ssh-agent): allow specifying absolute path to identities
Fixes #9650
2021-08-27 18:08:04 +02:00
Marc Cornellà 3f0672ff94 refactor(ssh-agent): clean up and reorganize code 2021-08-26 14:56:22 +02:00
7692881d2a feat(ssh-agent): only start ssh-agent once (#5359)
Close #5359
Close #7379

Co-authored-by: Will Andrews <will@firepipe.net>
Co-authored-by: zhangyc <zhangyc@fenbi.com>
2021-08-26 14:54:17 +02:00
Marc Cornellà cbb534267a feat(cli): add theme set subcommand to change theme in .zshrc
Fixes #9087
2021-08-18 16:58:36 +02:00
Marc Cornellà 8dedf26294 style(cli): print usage messages to stderr 2021-08-18 12:50:22 +02:00
Marc Cornellà b85e1dd5d6 fix(pyenv): fix for checking if pyenv-virtualenv is installed
Fixes #8467
2021-08-18 11:51:19 +02:00
Marc Cornellà 10f3e0d4d4 docs(pyenv): document necessity to logout after PATH settings 2021-08-18 11:43:29 +02:00
Marc Cornellà 7a4f4ad91e fix(lib): fix clipboard copy on Termux 2021-08-17 17:38:31 +02:00
Marc Cornellà ad1837859b fix(updater): fix reset ANSI escape code for resetting underline format 2021-08-17 16:35:42 +02:00
Marc Cornellà bc7ce982dd style(cli): fill rows in column output in theme and plugin list commands 2021-08-17 12:53:09 +02:00
Marc Cornellà bf888680ea refactor(cli): extract substitution awk script in plugin disable 2021-08-17 12:44:53 +02:00
Marc Cornellà 708bbe12c5 fix(cli): fix multiple errors in plugin disable/enable 2021-08-17 12:31:37 +02:00
Marc Cornellà 11e22ed0b5 docs(dirhistory): document keyboard shortcut conflict with Windows Terminal
Related: https://github.com/ohmyzsh/ohmyzsh/issues/8505#issuecomment-886241162
2021-08-14 22:56:14 +02:00
Marc Cornellà 7c5ab01a5f fix(changelog): also display commits from merged branches 2021-08-14 22:41:48 +02:00
Marc Cornellà 0b809c8dc5 Merge branch 'refactor/extract-plugin'
Closes #7948
Closes #9959
2021-08-14 22:37:23 +02:00
Marc Cornellà 0b32e4b25f style(extract): adopt main code style guide and refactor variables 2021-08-14 22:34:14 +02:00
Marc Cornellà 10a00085d0 fix(extract): don't push entries to dirstack when extracting rpm and deb files 2021-08-14 22:33:46 +02:00
Marc Cornellà a2f1ef69b5 fix(extract): correctly extract rpm files on other directories 2021-08-14 22:33:06 +02:00
Marc Cornellà 6dc937ff68 feat(extract): add suport for .cab files via cabextract 2021-08-14 22:32:04 +02:00
Marc Cornellà af6c7f3d67 refactor(cloudapp)!: remove deprecated cloudapp plugin
BREAKING CHANGE: the `cloudapp` plugin has been removed due to removed API.
2021-08-13 12:42:56 +02:00
Marc Cornellà e1f0d826f1 refactor(go)!: remove deprecated go plugin
BREAKING CHANGE: the `go` plugin has been removed. Use the `golang` plugin instead.
2021-08-13 12:40:20 +02:00
Marc Cornellà 502b07c9b2 refactor(fedora)!: remove deprecated fedora plugin
BREAKING CHANGE: the `fedora` plugin has been removed. Use the `dnf` plugin instead.
2021-08-13 12:38:22 +02:00
Marc Cornellà 7eeb1e193d refactor(lib): refactor take functions 2021-08-10 21:09:21 +02:00
Marc Cornellà c249288151 feat(lib): add mkcd as equivalent to takedir (#9749)
Fixes #9749
2021-08-10 21:06:46 +02:00
Marc Cornellà 5377cc37c0 fix(pyenv): fix for ignoring pyenv-win commands
The previous fix ignored any pyenv command found in $PATH while on
WSL, regardless of whether it was correctly set up or not.

This change only ignores the pyenv command if it's proved to come
from pyenv-win by looking at its full path.
2021-07-26 11:46:15 +02:00
Marc Cornellà e4f6f1698d fix(copybuffer): show error below the command line 2021-07-12 17:34:34 +02:00
Marc Cornellà 36f444ed73 fix(update): fix error exit code on update check (#10033)
This patch removes the 'exit 1' status code when the update check
finishes or is ended with CTRL+C.

Fixes #10033
2021-07-08 16:11:16 +02:00
Marc Cornellà c44b99e901 fix(dotenv): draw confirmation prompt in next empty line
Without this fix the confirmation prompt appears wherever the cursor is,
which means that it might appear in the command line when using a widget
that changes the directory without redrawing the prompt (an example of
this are the dircycle and dirhistory plugins).
2021-07-07 10:41:14 +02:00
Marc Cornellà 0e7d7b87f3 feat(changelog): ignore merge commits 2021-07-07 10:40:05 +02:00
Marc Cornellà e32d4b1e19 fix(lib): remove kubectx stub prompt function from lib
Fixes #9974
2021-06-17 18:54:52 +02:00
Marc Cornellà 3e7998aec3 Revert "ssh-agent: improvements (#6309)"
This reverts commit a206271460.
2021-06-14 10:57:50 +02:00
Marc Cornellà b54a6dab9c refactor(command-not-found): clean up and reorganize logic 2021-04-09 21:22:25 +02:00
Marc Cornellà 615f9dd02b chore: direct support queries to Discussions 2021-04-06 22:26:57 +02:00
Marc Cornellà 74db9acdb9 chore: I'm dumb 2021-04-06 22:17:17 +02:00
Marc Cornellà 7da330f1bd chore: fix CONTRIBUTING.md TOC 2021-04-06 22:14:05 +02:00
Marc Cornellà d5e9e8d37b docs: document commit convention in CONTRIBUTING.md 2021-04-06 22:11:02 +02:00
Marc Cornellà 1670f1cafc chore: add maintainer for archlinux plugin 2021-04-06 14:52:47 +02:00
Marc Cornellà 2b1d412279 fix(git): add push or save to gstu alias (#9766)
Fixes #9766
2021-03-31 11:25:26 +02:00
Marc Cornellà 6e56784179 fix(virtualenv): allow empty prefix/suffix in prompt function (#9763)
Fixes #9763
2021-03-28 15:01:39 +02:00
Marc Cornellà 02d07f3e3d fix: use $USERNAME guaranteed to always be defined in zsh
Fixes #9701
2021-03-25 12:08:00 +01:00
Marc Cornellà e8716cb570 fix(uninstall): fix renaming .zshrc when no original rc file found
Fixes #9629
Fixes #9700
2021-03-15 19:51:31 +01:00
Marc Cornellà c52e646bb7 refactor(gallois): clean up theme and fix typos 2021-01-31 19:55:13 +01:00
Marc Cornellà efcbd9f348 fix(vi-mode): ignore clip* function errors in yank and put widgets
Fixes #9605
2021-01-16 22:55:17 +01:00
Marc Cornellàandla-magra f484f88b42 fix(debian): add quotes to kclean alias (#3066)
Co-authored-by: la-magra <via.magra@gmail.com>
2021-01-16 19:58:29 +01:00
Marc CornellàandSergey Mashkov 8b37f817c2 fix(lib): use -N syntax in head and tail to support Solaris (#6391)
Closes #6391

Co-authored-by: Sergey Mashkov <cy6erGn0m@gmail.com>
2021-01-16 18:59:24 +01:00
Marc Cornellà 3d51d63077 fix(changelog): fix spacing in breaking changes message 2021-01-10 20:43:32 +01:00
Marc Cornellà 3635d7cf7e fix(universalarchive): make plugin zsh-only to fix realpath not found error
Fixes #9586
2021-01-10 18:34:18 +01:00