summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-27vagrant: document aliasesMarc Cornellà
2020-02-27vagrant: add common aliases (#3762)Marc Cornellà
2020-02-26zsh-interactive-cd: add vi-mode support (#8681)wallace11
2020-02-25installer: add option to install without replacing .zshrc (#8209)Michael Dorst
* Add option to install OMZ without replacing .zshrc tools/install.sh respects REPLACE_RC environment variable --noreplace-rc flag sets REPLACE_RC='no' * Change REPLACE_RC=no to KEEP_ZSHRC=yes Change --noreplace-rc to --keep-zshrc
2020-02-25npm: hardcode completion function and delete cached one (#8679)Marc Cornellà
Fixes #8665
2020-02-25battery: remove redundant grep calls in battery_pct functionMarc Cornellà
2020-02-25avit: fix prompt sequence (fixes #8678)Marc Cornellà
2020-02-25Add JFrog CLI plugin (#8250)Yahav Itzhak
2020-02-25battery: fix floating point output in macOSMarc Cornellà
Fixes #8676
2020-02-24installer: remove redundant cp command (#8668)Jonathan Chang
2020-02-24lib: delete upgrade lock in upgrade_oh_my_zshMarc Cornellà
Provides a different solution to #8332 and #8333
2020-02-24vscode: add documentation for running in macOS (#8674)Andy Pickle
2020-02-19Merge pull request #8651 from mcornella/random-theme-refactorMarc Cornellà
Add random theme and consolidate logic from init and themes plugin
2020-02-19Add blacklist variable for random themeMarc Cornellà
Co-authored-by: Fran Garcia <fran.miranda@gmail.com>
2020-02-19Polish themes plugin and error out if theme not foundMarc Cornellà
2020-02-19Add themes in $ZSH_CUSTOM to the pool of candidatesMarc Cornellà
Also add comments and unset leftover variables, and print only the name of the theme loaded. When looking for $ZSH_CUSTOM themes, the chosen algorithm is to add the theme names to the pool disregarding the path, and then source whatever theme is selected with the same logic as the init script, which is to source first custom themes even if there is another default theme of the same name. Co-authored-by: Mihai Serban <mihai.serban@gmail.com>
2020-02-19Move random theme functionality into "random" themeWilly Weiskopf
The statements for selecting a random theme in oh-my-zsh.sh and the themes plugin are duplicate. Most people eventually settle on a theme, making those lines in oh-my-zsh.sh superfluous. To address those, it may makes sense to put the random theme functionality into a theme of its own (since themes are just zsh scripts.
2020-02-19avit: add years since last commit if appropriateMarc Cornellà
2020-02-19avit: clean up theme codeMarc Cornellà
2020-02-19avit: replace custom prompt functions with OMZ onesMarc Cornellà
Fixes #8637
2020-02-19agnoster: fix bzr prompt with breezy installed (#8646)Marc Cornellà
* Change indentation to 2 spaces in prompt_bzr function * Check if in a bzr repository and optimize bzr calls in prompt_bzr
2020-02-18systemd: add prompt function to show systemd units' status (#7657)Sir Mobus Gochfulshigan Dorphin Esquire XXIII
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-02-18af-magic: fix virtualenv prompt suffixMarc Cornellà
2020-02-18git: add `grename` to rename a local branch and in the origin remote (#8622)Ujwal Dhakal
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-02-18af-magic: fix dashed separator sizing and refactorMarc Cornellà
Fixes #8081
2020-02-18web-search: add wolframalpha search engine (#8638)Kshitij Nikhal
2020-02-17arcanist: document aliasesMarc Cornellà
2020-02-17arcanist: add `arc diff --create` alias (#8610)Alexandre GOMES
2020-02-15dotnet: use official dotnet completion (#8518)Harry
2020-02-15git: add alias for git stash --include-untracked (#8617)Roman
2020-02-15cloudapp: fix copy-paste mistake in README (#8629)Manuel Silva
2020-02-13fzf: support for NixOS and Void Linux (#8618)Roey Darwish Dror
2020-02-13kubectl: avoid conflict with existing f aliases in kca alias (#8625)Marco Seguri
2020-02-13dotenv: fix prompt newlineMarc Cornellà
2020-02-13dotenv: add ZSH_DOTENV_PROMPT config (#8624)Maxime Richard
2020-02-12gradle: run gradle command instead of alias (#8620)Jonatan Ivanov
- Similarly to the mvn plugin - Without this fix, the shell crashes in some cases
2020-02-12Add zsh-interactive-cd pluginHenry Chang
2020-02-12dotenv: prompt before executing dotenv file (#8606)Mazin Ahmed
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-02-12battery: merge branch 'refactor-battery-plugin'Marc Cornellà
Closes #4726 Closes #4774 Closes #8275
2020-02-12Remove invalid batteries (#8275)GregoireW
2020-02-12Report only active battery (#4726)Bruce Weirdan
On a system with multiple batteries (like thinkpads) report percentage and time remaining only for the active battery (the one being discharged). Ideally we should report all batteries, but acpi only shows time remaining for the active battery. Also callers of these functions expect a single return value. This is still better than reporting 596% remaining (like it did on my laptop). For the reference, the output of acpi command with multiple batteries looks like this: Battery 0: Unknown, 5% Battery 1: Discharging, 86%, 03:14:04 remaining
2020-02-11Various syntax fixes and function naming equivalenceMarc Cornellà
- Fix code style - Fix local definitions - Don't declare unnecessary variables - Use `command` before grep
2020-02-11Clean up Linux battery commands and syntaxMarc Cornellà
2020-02-11Fix calculation for battery percentage (#4774)Marc Cornellà
Co-authored-by: Michael Wolman <michael.s.wolman@gmail.com>
2020-02-11lib: load bash completion functions automaticallyMarc Cornellà
Fixes #8614
2020-02-11jump: fix for `marks' and CTRL+G key bindingMarc Cornellà
- marks printed an error when $MARKPATH didn't exist or didn't have any marks in it. - The CTRL+G key binding overwrote an argument when it couldn't match it to an existing mark.
2020-02-11jump: add support for directories starting with a dot (#4661)hqingyi
Closes #4661
2020-02-11jump: fix issues in plugin and document CTRL+G key bindingMarc Cornellà
- Fixes `readlink -e` dependency which isn't supported in macOS (fixes #3235). - Uses native zsh wildcard expansion instead of calls to `ls`. - Prepends commands with `command` and `builtin` to bypass aliases and functions. - Documents CTRL+G key binding to substitute mark name in the command line with the mark path (https://github.com/ohmyzsh/ohmyzsh/pull/2045#issuecomment-22826540).
2020-02-11vagrant: obey VAGRANT_CWD when completing vagrant commands (#7219)Umberto Nicoletti
2020-02-11Detect dependency plugins in candy-kingdom and kiwi themesMarc Cornellà
Fixes #5029 Fixes #5342