summaryrefslogtreecommitdiff
path: root/themes
AgeCommit message (Collapse)Author
2020-06-03fino-time: fix virtualenv prompt by escaping dollar sign (#8991)Yauhen
2020-05-23avit: fix $reset_color sequence in promptMarc Cornellà
Fixes #8952
2020-05-22fino-time: fix git and ruby prompt sequencesMarc Cornellà
Fixes #8856
2020-05-21af-magic: account for active conda envs in dash lineMarc Cornellà
See https://github.com/ohmyzsh/ohmyzsh/issues/8081#issuecomment-632182715
2020-05-10pygmalion: revert multiline prompt changeMarc Cornellà
Fixes #2317 Closes #2321
2020-03-26nebirhos: use short hostname in promptMarc Cornellà
Fixes #6050
2020-03-02random: remove random theme from possible themes to choose fromMarc Cornellà
...preventing an infinite loop.
2020-02-27norm: add hg prompt (#6725)Julian Parsert
2020-02-25avit: fix prompt sequence (fixes #8678)Marc Cornellà
2020-02-19Add blacklist variable for random themeMarc Cornellà
Co-authored-by: Fran Garcia <fran.miranda@gmail.com>
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-18af-magic: fix virtualenv prompt suffixMarc Cornellà
2020-02-18af-magic: fix dashed separator sizing and refactorMarc Cornellà
Fixes #8081
2020-02-11Detect dependency plugins in candy-kingdom and kiwi themesMarc Cornellà
Fixes #5029 Fixes #5342
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à