summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-01-16feat(plugins): add `zbell` plugin to notify when commands end (#3034)bullno1
Closes #3034
2021-01-16feat(plugins): add `term_tab` plugin to complete other zsh sessions' ↵deathjest3r
directories (#3018)
2021-01-16fix(debian): add quotes to `kclean` alias (#3066)Marc Cornellà
Co-authored-by: la-magra <via.magra@gmail.com>
2021-01-16fix(lib): use -N syntax in `head` and `tail` to support Solaris (#6391)Marc Cornellà
Closes #6391 Co-authored-by: Sergey Mashkov <cy6erGn0m@gmail.com>
2021-01-15feat(git-prompt): display stash count in promptArnaud Thimel
2021-01-15feat(git-prompt): display untracked files countArnaud Thimel
Closes #8435 Closes #4880
2021-01-15chore: caution against `COMPLETION_WAITING_DOTS` in template (#8352)Suhas Karanth
2021-01-14fix(colorize): bypass less aliases in `colorize_less` (#9593)Ruslan Sayfutdinov
2021-01-12feat(last-working-dir): log separate `lwd`s for different SSH keys on the ↵wilkis
same user account (#9534) Co-authored-by: Marc Cornellà <hello@mcornella.com>
2021-01-11feat(macports): add 'reclaim' to completion list for Macports (#9521)Søren Nielsen
The sub-command `reclaim` is quite useful for freeing up disk space. `reclaim` is a useful command that is missing from the list of completions in the plugin. The description is for the `reclaim` sub-command is: "port reclaim will find files that can be removed to reclaim disk space by uninstalling inactive ports on your system as well as unnecessary unrequested ports, and removing unneeded or unused installation files. The user is then provided interactive options for files to remove. No files are removed initially, until the user selects them from the provided list." For all the details use this command on a system with Macports installed: `port help reclaim`
2021-01-11fix(jake-node): support all Jakefile filenames in `jake` completion (#9589)TIT
2021-01-10fix(changelog): fix spacing in breaking changes messageMarc Cornellà
2021-01-10fix(universalarchive): make plugin zsh-only to fix `realpath` not found errorMarc Cornellà
Fixes #9586
2021-01-07fix(lib): update Emacs terminal detection in `title` function (#9577)Kyle Gerard Felker
Environment variable EMACS was replaced by INSIDE_EMACS
2021-01-05fix(changelog): display scope in breaking change messagesMarc Cornellà
2021-01-05fix(CLI): show symlinked themes in `omz theme list`Marc Cornellà
2021-01-05chore: add Konfekt as universalarchive maintainerMarc Cornellà
2021-01-05feat(plugins): add `universalarchive` plugin to conveniently compress files ↵Konfekt
(#6846) Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2021-01-04fix(vi-mode)!: add back edit-command-line key binding as 'vv' (#9573)Marc Cornellà
BREAKING CHANGE: the key binding to open an editor to edit the command line has been moved from being `v` (press v once) to being `vv` (press v twice). Now, the action for `v` is the default `visual-mode`, as is in Vim. Fixes #9573
2021-01-04fix(vi-mode): hide cursor-change logic behind `VI_MODE_SET_CURSOR` settingMarc Cornellà
Fixes #9570
2021-01-04docs(vi-mode): revamp README and document settingsMarc Cornellà
2021-01-03fix(archlinux): update URL and key server in `pacmanallkeys` (#9569)Gabriel Corral
- Added follow redirects curl flag to fix the 301 response - Updated trusted users URL format - Changed from `pgp.mit.edu` keyserver to `keyserver.ubuntu.com` keyserver
2021-01-03feat(CLI): add `plugin info` subcommand (#9452)Fernando Crespo
Co-authored-by: Fernando Crespo <fxcrespo@iMac-44054.local> Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2021-01-02refactor(vi-mode): remove duplicate bindkey logic and fix syntaxMarc Cornellà
2021-01-02fix(vi-mode): control cursor, restore and use visual mode and speed up mode ↵Robert Estelle
changes (#8004)
2021-01-02docs(nvm): clarify how to enable settings (#9542)Paul Robert Lloyd
It wasn’t clear where I should set the `NVM_AUTOLOAD` variable. The clue was to be found in [the docs for another plugin](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/fzf). It seems setting values need to come before Oh My Zsh is sourced. Updated read me to reflect this, and the fact that one of the settings mentioned is specific to nvm, not this plugin.
2021-01-02fix(lib): mark changes as MODIFIED on 'MM' in `git_prompt_status` (#9552)Seamile
In the output of `git status -sb`, 'MM' indicates there are both added and modified changes. This change marks that case as MODIFIED instead of ADDED.
2021-01-01feat(git): add grst alias for `git restore --staged` (#8932)Peter Babič
Closes #8932
2021-01-01feat(docker): update completion to upstream version (#9470)YantaoZhao
2020-12-31fix(CLI): properly get zsh command in `omz update` (#9558)Marc Cornellà
Zsh versions older than 5.3 don't have ZSH_ARGZERO, so use an alternative method to get the zsh command. Fixes #9558
2020-12-31feat(grc): source `grc.zsh` instead of hard-coding its content (#9553)hjpotter92
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-12-30fix(changelog): remove CR characters in breaking change messagesMarc Cornellà
The GitHub UI might not remove CR characters from commit description forms filled from a Windows browser.
2020-12-30fix(brew)!: update `bcubc` alias to use `brew upgrade --cask` (#9501)Josh E. Roberts
BREAKING CHANGE: changes deprecated `brew cask reinstall $(...)` alias to use `brew upgrade --cask` instead. If you don't have this command, run `brew update` to get the latest Homebrew CLI version. Co-authored-by: jakepez <jake@findjake.com>
2020-12-28fix(updater): don't pipe changelog to less when updatingMarc Cornellà
Fixes #9509
2020-12-27fix(genpass): use `log()` instead of `log2()` for zsh < 5.6 (#9548)Marc Cornellà
Fixes #9548
2020-12-25chore: update git-lfs maintainer handleMarc Cornellà
2020-12-16fix(genpass): improve performance and usability and fix bugs (#9520)Roman Perepelitsa
*Bugs* The following bugs have been fixed: - All generators ignored errors from external commands. For example, if `/usr/share/dict/words` was unreadable, `genpass-xkcd` would print "0-" as a password and return success. - All generators silently ignored the argument if it wasn't a number. For example, `genpass-apple -2` was generating one password and not printing any errors. - All generators silently ignored extra arguments. For example, `genpass-apple -n 2` was generating one password and not printing any errors. - `genpass-xkcd` was generating passwords with less than 128 bits of security margin in contradiction to documentation. The smaller the dictionary size, the weaker the passwords it was generating. For a dictionary with 27 words, `genpass-xkcd` was generating passwords with 93 bits of security margin (`log2(27!)`). - The source of random data used by `genpass-xkcd` was not cryptographically secure in contradiction to documentation. See: https://www.gnu.org/software/coreutils/manual/html_node/Random-sources.html - `genpass-apple` could generate a password with non-ascii characters depending on user locale. For example, passwords could contain 'İ' for users with Turkish locale. - `genpass-apple` didn't work with `ksh_arrays` shell option. - `genpass-xkcd` was printing spurious errors with `ksh_arrays` shell option. - `genpass-xkcd` was producing too short (weak) or too strong (long) and/or printing errors when `IFS` was set to non-default value. - All generators were printing fewer passwords than requested and returning success when passed a very large number as an argument. *Usability* Generators are now implemented as self-contained executable files. They can be invoked from scripts with no additional setup. Generators no longer depend on external commands. The only dependencies are `/dev/urandom` and, for `genpass-xkcd`, `/usr/share/dict/words`. All generators used to silently ignore all arguments after the first and the first argument if it wasn't a number. For example, both `genpass-apple -2` and `genpass-apple -n 2` were generating one password and not printing any errors. Now these print an error and fail. *Performance* The time it takes to load the plugin has been greatly reduced. This translates into faster zsh startup when the plugin is enabled. Incidentally, two generators out of three have been sped up to a large degree while one generator (`genpass-xkcd`) has gotten slower. This is unlikely to matter one way or another unless generating a very large number of passwords. In the latter case `genpass-xkcd` is now also faster than it used to be. The following table shows benchmark results from Linux x86-64 on i9-7900X. The numbers in the second and third columns show how many times a given command could be executed per second. Higher numbers are better. command | before (Hz) | after (Hz) | speedup | ----------------------------|------------:|-----------:|--------:| `source genpass.plugin.zsh` | 4810 | 68700 | +1326% | `genpass-apple` | 30.3 | 893 | +2846% | `genpass-monkey` | 203 | 5290 | +2504% | `genpass-xkcd` | 34.4 | 14.5 | -58% | `genpass-xkcd 1000` | 0.145 | 0.804 | +454% |
2020-12-14fix(genpass): in `genpass-xkcd`, add warnings and make it compatible with macOSMarc Cornellà
Closes #9515 Closes #9516
2020-12-14fix(genpass): add compatibility for macOS paste commandPatrick Harrison
"paste" on macOS requires a '-' to signify that the standard input is used. Without the '-' character, the command errors out.
2020-12-14fix(genpass): warn if no wordlist is foundMarc Cornellà
2020-12-14fix(genpass): check for presence of shuf command.Patrick Harrison
"shuf" is not a standard command on MacOS and requires installation of the brew coreutils package
2020-12-13fix(genpass): fix grep regex in `genpass-xkcd` for FreeBSD version (#9514)Matt Lewin
2020-12-13fix(genpass): only use words with ASCII characters in `genpass-xkcd` (#9508)Aaron Toponce
2020-12-12fix(changelog): allow breaking change message to span multiple linesMarc Cornellà
This also allows the option to put extra paragraphs after the BREAKING CHANGE message while properly displaying the breaking change message. Useful, for example, to add signed-off or co-authored lines.
2020-12-12feat(updater): save version prior to updating so `omz changelog` just works™Marc Cornellà
Fixes #9505
2020-12-12feat(plugins): add genpass plugin with 3 distinct password generators (#9502)Aaron Toponce
2020-12-11fix(composer): autoload `_cache_invalid` for antigen compatibilityMarc Cornellà
Antigen doesn't call `compinit` until the user prompt is about to be shown, which means `_cache_invalid` isn't automatically autoloaded. This patch fixes that, though we should work towards a better caching mechanism. Fixes #9490
2020-12-10chore!: notify breaking change in `git_prompt_info`Marc Cornellà
BREAKING CHANGE: the git config option to skip running `git_prompt_info` has changed from `oh-my-zsh.hide-status` to `oh-my-zsh.hide-info` (#9188).
2020-12-10feat(lib): show upstream branch in `git_prompt_info` (#9188)Bruno Borges
Show the remote branch the local branch is tracking if `ZSH_THEME_GIT_SHOW_UPSTREAM` is set, like so: `ZSH_THEME_GIT_SHOW_UPSTREAM=1`. Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-12-10refactor(hanami): change global aliases and clean up READMEMarc Cornellà