summaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)Author
2019-09-20Add gcloud plugin (#8144)Ian Chesal
* A gcloud plugin This PR addresses issue #6205 This adds support for loading completion for the Google Cloud SDK command line tools. It searches the known paths for an SDK and loads the provided completion if it is found. Users can supply a custom location for the SDK by setting `CLOUDSDK_HOME` in their `zshrc` before loading oh-my-zsh plugins. * Canoncial zsh and some safe guards Based on a PR review from mcornella. All off this has now been tested on the following variants: - macOS 10.14.6 - Homebrew - macOS 10.14.6 - Custom install - Ubuntu 16.04.6 LTS - apt install - Ubuntu 18.04.3 LTS - apt install - Ubuntu 18.04.3 LTS - snap classic install - CentOS 7 - yum install
2019-09-19Fix WSL check for WSL 2 and simplify nohup in open_commandMarc Cornellà
WSL 2 changes the output of `uname -r`. For instance, WSL 1: 4.4.0-18980-Microsoft WSL 2: 4.19.67-microsoft-standard Since WSL 2 lowercases the M, we can match for the rest of the string which remains lowercase throughout both versions. Another option would be to match for both upper- and lower-case Ms, like that: $(uname -r) = *[Mm]icrosoft* Fixed use of nohup in open_command where it was only necessary for xdg-open (and actually harmful for cmd.exe in WSL 2). The current logic is simpler and more future-proof.
2019-09-13z: update to latest version (e77e938)Marc Cornellà
Closes #8145 Co-authored-by: GHPS <GHPS@users.noreply.github.com>
2019-09-13git: fix gtl alias argumentMarc Cornellà
Fixes the error `no matches found` because the argument is not quoted. See https://github.com/robbyrussell/oh-my-zsh/pull/7629#issuecomment-531151821
2019-09-11kube-ps1: add a note where to put the `PROMPT=...` line (#8142)Jonas
2019-09-08gitfast: fix error in git-prompt.sh (#8132)Marc Cornellà
An error was thrown (`bash: [: =: unary operator expected`) when using the __git_ps1_colorize_gitstring function outside of the one place it's called (line 512), because the "detached" variable was not quoted, and was unset.
2019-09-08Unquote yes in conditional expressions for style consistencyMarc Cornellà
2019-09-08gitfast: update completions (#8130)Prajjwal Singh
Includes completions for `git switch`.
2019-09-08ssh-agent: check if `ssh-add -l` was successfulMarc Cornellà
2019-09-08Update syntax on the remaining functionsMarc Cornellà
2019-09-06Updated git-prompt.sh to quote variablesAddison G
An error was thrown (`bash: [: =: unary operator expected`) when using the __git_ps1_colorize_gitstring function outside of the one place it's called (line 512), because the "detached" variable was not quoted, and was unset.
2019-09-03Fix bad function definitions in Debian pluginBraxton Schafer
There appears to be a definition issue for some functions/aliases which result in the following errors when sourcing .zshrc: ``` /home/username/.oh-my-zsh/plugins/debian/debian.plugin.zsh:75: defining function based on alias `abd' /home/username/.oh-my-zsh/plugins/debian/debian.plugin.zsh:75: parse error near `()' ``` Fixes #7986
2019-09-02wd: point to the correct directory even if installed with antibody (#8116)Salomon Smeke
2019-09-02git-escape-magic: fix typo (#8113)Ing. Jan Kaláb
2019-08-27autojump: fix loading when autojump is not in $PATH (#8074)mapshen
The `commands[autojump]` block errs out when autojump is not found, and the rest, which is intended to be used for loading `autojump`, does not get executed.
2019-08-27ripgrep: update completion to latest version (#8083)Jonathan Klimt
2019-08-24homestead: repair sed regex (#8103)Pavel Omelchenko
2019-08-23plugins/git: Fix `gbda` trying to delete worktree branchesRyan Styrczula
Git learned to add a `+` in front of branches that are checked out in other worktrees. See: https://github.com/git/git/blob/745f6812895b31c02b29bdfe4ae8e5498f776c26/Documentation/RelNotes/2.23.0.txt#L252-L256
2019-08-23ubuntu: fix aglu to list available upgrades (#8082)Vignesh Balasubramaniam
2019-08-23homestead: change key string for getting command list (#8008)Marc Cornellà
2019-08-22feature: add condition for regular expressionPavel Omelchenko
2019-08-20git: add aliases for git switch and restore (#8089)Julien Janvier
2019-08-19fabric: support fabric 2+ completion (#8010)Kirill Pinchuk
2019-08-19Add git-escape-magic plugin (#2847)Matthew Turney
2019-08-19Add alias-finder plugin (#7768)SomeDer
2019-08-19Allow plugins sudo and thefuck to be loaded before vi-mode (#8087)SomeDer
2019-08-13git-auto-fetch: override zle-line-init only if it existsMarc Cornellà
2019-08-07n98-magerun: support magerun for Magento 2 (#7950)Jisse Reitsma
2019-08-07colored-man-pages: add option to color any help command (#7173)Marc Cornellà
This allows you to use `colored git log --help` for example, to get colored output.
2019-08-04Add README fileIulian Onofrei
2019-07-31frontend-search: add duckduckgo as an option for fallback search (#7973)Jack Brown
2019-07-27common-aliases: add README (#8039)Gopal9816
2019-07-22Removing plugin that was named after an external tool, which carries a ↵PLANET ARGON
history as a racist phrase. Was reported by a user of OMZ who shared some background on the terminology and how it made them feel. (#8027)
2019-07-17change key stringPavel Omelchenko
2019-07-11git: add missing grev alias to README (#7984)Adriaan Knapen
2019-07-01git-auto-fetch: silence stderr output (#7970)Jackson Delahunt
Redirect stderr to avoid printing errors to the console when the ssh key is not unlocked.
2019-06-27golang: add missing gom alias to README (#7961)Jacky Wu
2019-06-26terraform: update README (#7934)tom-apfm
Add better usage instructions for the plugin which actually work
2019-06-15kubectl: add statefulset aliases (#7826)Jason Schwerberg
2019-06-15colorize: add style environment variable (#7635)Marc Cornellà
2019-06-15adding gatsby command set (#7831)Nicholas Wehr
2019-06-15Add a completion plugin for dnote (#7885)Sung Won Cho
2019-06-15Add PersistentVolumeClaim support to kubectl plugin (#7827)Robby Russell
Just add aliases for PVC actions.
2019-06-15git: add git revert alias (#7841)SomeDer
* git: add `alias grev="git revert"` * Swapping double for single quotes Matching the conventions in the plugin
2019-06-12rails: fix typo in README (#7923)Viktor Fonic
2019-06-11ubuntu: plugin cleanup and rename of ag alias to age (#7700)Marc Cornellà
* Clean up plugin and README * Rename ag to age to avoid conflict with The Silver Searcher Fixes #3866
2019-06-11debian: fix alias completion, rename ag and clean up README (#7698)Marc Cornellà
* Use double quotes to cache value of $apt_pref and $apt_upgr * Clean up and fix syntax of command checks * Clean up README and document $apt_pref/$apt_upgr overriding mechanism * Rename `ag` alias (apt upgrade) to `au` * Clean up README and fix syntax Fixes #3686 Fixes #4660 Closes #5906 Co-authored-by: Noah Vesely <fowlslegs@riseup.net>
2019-06-10pip: fix no such file or directory error (#7916)Ryan Greenblatt
Zsh may be configured such that ">>" will error if the file doesn't exist (`setopt noclobber`).
2019-06-08gitfast: downgrade to upstream v2.16 (#7918)Felipe Contreras
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2019-06-07kube-ps1: fix color bleeding in prompt (#7915)Roger Steneteg