summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-27jhbuild: add shell alias (#3707)Adrien Plazas
This adds "jhsh" as an alias for "jhbuild shell" to the JHBuild plugin.
2020-02-27norm: add hg prompt (#6725)Julian Parsert
2020-02-27nmap: add alias for ICMP scan (#4807)Ciacho
Closes #4807
2020-02-27python: add alias to run the proper IPython based on virtualenvPetr Bělohlávek
Current state: a user invokes `ipython` and is provided with the IPython instance regarding the `$PATH`. Proposed state: a user invokes `ipython` (which is a new alias in the *python plugin*) and is provided with the proper IPython instance regarding the currently activated virtualenv. Example: the user's default Python is 2.7 with installed IPython 2.7. User activates Python 3.5 virtualenv where he installs IPython 3.5. After activating the environment, one expects `ipython` to run the version 3.5, which does not happen by default. Instead, IPython 2.7 is used, which in counter-intuitive and often causes problem. Closes #5797
2020-02-27updater: add --autostash to git pull (#7172)Mauricio Wolff
If I have custom configs (like theme customizations) I have to stash my changes and get them back after the update. By adding the --autostash on upgrade.sh, if I have any changes not commited they'll be reapplied after the upgrade, allowing me to have temporary customizations without any harm to the upgrade process.
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