summaryrefslogtreecommitdiff
path: root/themes
AgeCommit message (Collapse)Author
2020-02-04af-magic: fix showing aws prompt out of the box (#8243)Aliaksei Maiseyeu
Fix issue related to #7615, #7747 and #6346 After the update, aws prompt (which should be visible out of the box) disappears when a user uses a theme af-magic, because of fact that plugins are loaded before themes. This pull request fixes issue with not showing aws prompt in theme af-magic, by appending RPROMPT in theme af-magic instead overwriting.
2019-11-20Actions to take after repository migration is complete (#8394)Marc Cornellà
* Change project URL from robbyrussell to ohmyzsh org * Update git remote to use ohmyzsh org repository
2019-11-19Use safer append to hook function arrays (#8406)Jacob Tomaw
Use add-zsh-hook to add functions to hooks. That way they won't be added again when doing `source ~/.zshrc` multiple times. Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2019-11-08Upgrade some URLs to HTTPS (#8202)Isaac Clayton
* Update http to https in Solarized * Upgrade http to https for 'Burger In Your Shell' * Upgrade http to https for tmux.github.io
2019-10-16bira: move virtualenv information (#8266)Shriniwas Sharma
2019-09-13robbyrussell: restore prompt spacing (#8148)nv035674
2019-09-08robbyrussell: remove local variable (#8131)Hanjiang Yu
Now it can be sourced in a function, like zplug.
2019-09-08Change description for Evan's theme to something neutral (#6304)Sean Collins
2019-08-19af-magic: add hg prompt and tweak virtualenv info (#8056)Matthew Armand
- Add mercurial support to af-magic, so now the vcs prompt will show up in either a git or hg repository - The virtualenv prompt was white and bumped up against the user@hostname output - Fixed that so its green (which I thought highlighted it more thematically) and has a space before user@hostname
2019-08-06Revert "agnoster: fix VIRTUAL_ENV_DISABLE_PROMPT logic (#8050)" (#8061)Marc Cornellà
This reverts commit 59c1ec80aa9b018db34078e69a27e57aea5ad761.
2019-07-31agnoster: fix VIRTUAL_ENV_DISABLE_PROMPT logic (#8050)Rocky
Fixes #7985
2019-07-13af-magic: make separator window-size-aware (#7739)Marc Cornellà
2019-06-14crcandy: use 24h format in prompt (#7926)Crackpot
2019-05-08Themes: switch to using ruby_prompt_info()Andrew Janke
Changes themes displaying RVM or other Ruby version info to use the central ruby_prompt_info function. This supports more Ruby versioning mechanisms, reduces copy-and-paste code, and avoids "zsh: no such file or directory: rvm-prompt" when run on machines that do not have RVM installed. Changes the prefix/suffix variable names to ZSH_THEME_RUBY_PROMPT_PREFIX and ZSH_THEME_RUBY_PROMPT_SUFFIX, since they apply to all Ruby versioning mechanisms, not just RVM. Allows empty ZSH_THEME_RUBY_PROMPT_PREFIX and ZSH_THEME_RUBY_PROMPT_SUFFIX.
2019-04-18agnoster: remove empty line (#7775)David Dejori
2019-04-16bira: remove extra spaces (#7767)KillWolfVlad
2019-04-10Delete deprecated pure themeMarc Cornellà
2019-04-09Fix showing aws prompt out of the box for 'fishy' theme (#7747)Marc Cornellà
This fixes the RPROMPT setting for fishy theme so as to preserve its old value, instead of overwriting it like it did before. Also, fix unnecessary export of RPROMPT in aws plugin.
2019-04-09bira: add virtualenv support in promptdjr-jsr
Fixes #7483 Closes #4973
2019-04-08Fix showing aws prompt for theme fishy (append RPROMPT instead of overwrite)programmer04
2019-04-07refined: reset command exec time (#6117)Kevin Kuhl
Fixes #6116
2019-03-25themes: fix prompt verbosity on window resizeMarc Cornellà
%_ is a prompt expansion sequence that expands to the status of the parser. This means that on window resize, the status of the execution of the window resize hook (TRAPWINCH) would be displayed while reloading the prompt line. This looked like cmdand cursh$ or then$ depending on the body of the TRAPWINCH function. Fixes #7262
2019-03-24Add pygmalion-virtualenv theme (#5139)shellbye
2019-03-23agnoster: show AWS_PROFILE in prompt (#6621)Rob Lugton
2019-01-31theme/gallifrey: set color to red if root (#6203)Brian Hong
2018-12-31Remove duplicate space on the maran theme (#7454)Aurélien Bourdon
2018-10-27avit: fix handling of time since last commit (#7350)Ezequiel Pochiero
2018-10-17agnoster: use %n instead of $USER to fix quotingMarc Cornellà
Fixes #7268 With `$USER`, we'd need to quote it in case special characters like `\` are present in the $USER value, like if the user is part of an AD domain. With `%n` the quoting is done automatically by zsh. See http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html#Login-information
2018-10-07Fix tilde substitution in theme promptsMarc Cornellà
These themes used an adhoc substitution of $HOME for tilde in $PWD, but it's better to use '%~' and is less error prone. See #7160
2018-09-26agnoster: fix prompt_status error (#6450)Marc Cornellà
This commit fixes the runtime error that says: prompt_status:2: symbols: attempt to assign array value to non-array It trips over a local array which is not properly declared.
2018-09-26fix invalid syntax in old zsh versionsMarc Cornellà
2018-09-25Fix agnoster initial diagnostic errorCarlo Dapor
This PR fixes the runtime error that displays this: ```log prompt_status:2: symbols: attempt to assign array value to non-array ```. It trips over a local array which is not properly declared.
2018-09-24agnoster: respect git config oh-my-zsh.hide-status (#6362)Marten Seemann
2018-09-15misc: remove execution permission from various filesMarc Cornellà
2018-08-29Fix rvm-prompt usage in fino* themes (#6477)Nick Diego Yamane
* theme/fino: Check rvm-prompt is installed before to try to use it Signed-off-by: Nick Diego Yamane <nick.diego@gmail.com> * theme/fino-time: Check rvm-prompt is installed before to try to use it Signed-off-by: Nick Diego Yamane <nick.diego@gmail.com>
2018-08-20trapd00r: clean up the scriptMarc Cornellà
2018-08-20trapd00r: simplify logic and optimize for loopMarc Cornellà
This version splits the `$PWD` by the slashes and prints the path directory by directory, printing the separators as before.
2018-08-20trapd00r: change more slowly between yellowsMarc Cornellà
Also refactor the logic
2018-08-20trapd00r: optimize reset of foreground colorsMarc Cornellà
2018-08-20trapd00r: look for 256-color support, not $DISPLAYMarc Cornellà
Checking if the terminal supports 256 colors is better suited for our purpose. Checking if `$DISPLAY` is set doesn't tell us if our colors will be displayed correctly.
2018-08-20trapd00r: convert perl script to zshMarc Cornellà
Used color encodings from https://metacpan.org/source/WOLDRICH/Term-ExtendedColor-0.224/lib/Term/ExtendedColor.pm
2018-08-19Fix for external dependency in trapd00r theme (#5579)Michele Iacobone
2018-08-19Agnoster: solarized light variant (#4680)Frederic Crozat
* agnoster: do not hardcode black foreground. This would allow easy customization when using light color schemes, like solarized-light * agnoster: implement light theme variant Use same variable as in blinks theme, to detect if solarized theme used is a light or dark one.
2018-08-07use https everywhere (#6574)Janosch Schwalm
* use https everywhere * use https links on the files that are left Also, removed some broken links and updated redirections.
2018-07-19example: move example theme to custom folderMarc Cornellà
2018-07-03change mortalscumbag to use core git_current_branch (#6965)Unknown-Guy
2018-07-01mortalscumbag add icon showing local branch behind (#4364)nyim
2018-07-01simple theme: indication of privileges (#3728)Jonathen Russell
I found this quite annoying not being in this theme after switching from gentoo-theme, it's helpful and it doesn't detract from simplicity.
2018-05-23Revert fbcda4dMarc Cornellà
The PROMPT building method clashes with other themes and plugins that modify the PROMPT variable. Also reverted the $jobstates trick due to it not working inside $PROMPT.
2018-05-17agnoster: cut down on fork/execs improve performance when not in a repo (#6210)Andrew Baumann
* agnoster: improve perf with use of $jobstates (zsh/parameter module) This saves multiple fork/execs (for the subshell and wc) each time the prompt is rendered * agnoster: compute git repo_path only when in a git repo this avoids needlessly invoking git twice every time we render the prompt * agnoster: avoid subshell when rendering prompt Rather than forking a subshell to print the prompt, construct it incrementally by appending to $PROMPT. v2: fix incorrect CURRENT_BG v3: fix bzr and hg prompting Thanks @mcornella for the help.