summaryrefslogtreecommitdiff
path: root/themes
AgeCommit message (Collapse)Author
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.
2018-05-07Fix branch not updating on checkout in steeef (#6784)Joshua Kovach
* Fix branch not updating on checkout in steeef * Check for `hub` in steeef when switching branches
2018-04-23[half-life] Fix last command checkMarc Cornellà
Fixes #6758
2018-04-22Make steeef theme much faster by not iterating through all history (#6359)Sean Abraham
* Make steef much faster by not printing all history each time * Use whence -c to expand shell functions as well * Use $2 (expanded command about to be ran)
2018-04-19[rkj-repos] Make `hg prompt` check less strict (#6746)Marc Cornellà
* [rkj-repos] Make `hg prompt` check less strict Move the `hg prompt` check inside the hg_prompt_info function so that it returns an empty string if hg-prompt isn't installed. Fixes #6743. * [rkj-repos] Check for hg in `hg prompt` function
2018-04-17[cloud theme] add a space (#3215)安正超
2018-04-15[rkj-repos] Check for 'hg prompt' and exit if not found (#6655)cori schlegel
* Check for extension, and exit if not found. Addresses #6036 * Fix styles in rkj-repos.theme
2018-04-15Fix emotty theme when using zsh 5.2 (#5998)Alexis Hildebrandt
see http://www.zsh.org/mla/workers/2015/msg03259.html
2018-04-15Reduce number of git calls when displaying prompt (#3795)Cory Snider
The avit theme's _git_time_since_commit function was running git twice. Reduce it with a single call to `git log`, checking the exit code for success.
2017-11-01Replace preview link. (#6369)Paul Morganthall
The old preview on Skitch is no longer available (closed account?). The new preview is on a free Flickr which might last longer. ?
2017-05-03Fix RKJ theme coloring and make it slightly more readable (#5582)Vihang Mehta
2017-04-21Fix host display in nebirhos themeMarc Cornellà
Fixes #6028
2017-03-30Merge branch 'rename-pure-theme'Marc Cornellà
2017-03-30Add deprecation notice to pure themeMarc Cornellà