summaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)Author
2021-03-15fix(emotty): fix `bad assignment` error (#9714)Piotr Rogoża
2021-03-15feat(git): add `grbo` alias for `git rebase --onto` (#8088)John Delgado
2021-03-08fix(terraform): use faster method to get workspace (#9709)Vlad Korolev
Also add tf_prompt_info to the list of prompt functions so theme writers are aware of it
2021-02-20feat: add mongocli plugin (#9248)Gustavo Bazan
2021-02-20[docker-compose] Added alias for docker-compose up --build (#8843)Vikas Raj
* [docker-compose] Added alias for docker-compose up --build Sometimes building images before starting the containers comes in handy. Alias: `dcupb` Command: `docker-compose up --build` * Updated docker-compose/README.md Added the alias definition in the readme Co-authored-by: Robby Russell <robby@planetargon.com>
2021-02-20Replce 'rake routes' task with 'rails rotues' (#9662)Kartikey Tanna
* Replce 'rake routes' task with 'rails rotues' Fixes https://github.com/ohmyzsh/ohmyzsh/issues/9661 * Modified 'rake routes|grep' to use rails
2021-02-09refactor(git-flow): remove duplicate `gflfp` alias (#9640)iammordaty
Fixes #9638
2021-01-27docs(git-prompt): explain stashed icon (⚑) (#9619)Aidin Gharibnavaz
Stashed icon was added in #4880
2021-01-16fix(vi-mode): ignore `clip*` function errors in yank and put widgetsMarc Cornellà
Fixes #9605
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-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-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(universalarchive): make plugin zsh-only to fix `realpath` not found errorMarc Cornellà
Fixes #9586
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-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-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-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(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-27fix(genpass): use `log()` instead of `log2()` for zsh < 5.6 (#9548)Marc Cornellà
Fixes #9548
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): 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-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-10refactor(hanami): change global aliases and clean up READMEMarc Cornellà
2020-12-09fix(common-aliases)!: don't overshadow `fd` if installed (#9162)Marc Cornellà
BREAKING CHANGE: in `common-aliases`, the `fd` alias won't be defined if `fd` is installed (https://github.com/sharkdp/fd).
2020-12-09Document fd alias change in READMEMarc Cornellà
2020-12-10fd: Rework command to be more idiomaticRohit Goswami
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-12-09feat(plugins): add grc plugin for Generic Colouriser (#9315)Mark Mercado
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-12-08fix(git): silently fail in `git_main_branch` if not in a git repo (#9484)Joseph Heyburn
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-12-07refactor(archlinux): prevent leaking local variables (#9476)ratijas
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-12-07feat(wp-cli): add aliases for DB management (#9469)Veesar
2020-12-05fix(command-not-found): show error in Ubuntu when no package is found (#9418)赵崇延
2020-12-03fix(git-prompt): make `gitstatus.py` python3-compatible (#9186)Stimim Chen
check_output() in get_tagname_or_hash() returns bytes instead of str in python3. Decode the return value to utf-8, this works in both python2 and python3. Co-authored-by: Stimim Chen <stimim@google.com>