summaryrefslogtreecommitdiff
path: root/themes
AgeCommit message (Collapse)Author
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à
2017-03-30Remove wrong whitespace in bira theme (#5985)Elias Fröhner
The whitespace in line 13 creates a double whitespace when combined with line 24. Therefore 2 whitespaces appear between ${user_host} and ${current_dir}.
2017-03-16Rename pure theme to 'refined'Marc Cornellà
2017-01-09Change af-magic theme's branch color (#5730)haandol
2016-12-30 'themes/trapd00r.zsh-theme: Solve typos'Patrick José Pereira
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2016-12-30 'themes/steeef.zsh-theme: Solve typos'Patrick José Pereira
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2016-12-30 'themes/pure.zsh-theme: Solve typos'Patrick José Pereira
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2016-12-30 'themes/half-life.zsh-theme: Solve typos'Patrick José Pereira
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2016-10-15Update bira theme (#4954)Jocelyn Thode
* Add '#' instead of '$' when in root * Make return code bold
2016-10-14Display suvash prompt w/o Ruby; refactor codeMarc Cornellà
2016-10-03Change confusing 12h without AM/PM to a clean 24h display.FireWave
It was not possible to simply add AM/PM since strftime return blank for %p %P
2016-10-03Revert "Change confusing 12h-time without AM/PM to system-localized time"FireWave
This reverts commit 06d52a60389a85107ed8cc2e302a1e66f719f738.