Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-03-12 | fix(lib): set equivalent LS_COLORS and LSCOLORS variables | Marc Cornellà | |
As reported by https://geoff.greer.fm/lscolors Fixes #11554 | |||
2023-03-07 | fix(init): set completion colors on theme load, not with `precmd` | Marc Cornellà | |
This fixes an edge case where the user actually sets zstyle ':completion:*' list-colors in their zshrc, but the previous code used a precmd hook, which would override the user changes. With this change our modifications will be set in the init script, after the theme loads, so that later changes can affect our defaults. Note that this will not be run for users on plugin managers, as these don't generally run our init script. | |||
2023-03-03 | refactor(theme-and-appearance): reorganize and clean up logic (#11529) | Marc Cornellà | |
Co-authored-by: Andrew Janke <janke@pobox.com> Co-authored-by: Marcelo Parada <marcelo.parada@axoninsight.com> Co-authored-by: Uy Ha <hchanuy@gmail.com> Co-authored-by: Valentin Uveges <valentin.uveges@gmail.com> | |||
2023-02-24 | refactor: reorganize setopts in lib folder | Marc Cornellà | |
2023-02-22 | fix(theme-and-appearance): avoid infinite recursion | Carlo Sala | |
2023-02-16 | fix(theme-and-appearance): test color ls with $ZSH directory | Carlo Sala | |
Fixes #11500 | |||
2023-01-25 | fix(theme-and-appearance): fix `diff` completion in macOS | Carlo Sala | |
Closes #11416 Closes #11454 | |||
2021-10-10 | fix(lib): fix `diff --color` argument check for BSD systems (#10269) | michael-yuji | |
2020-07-06 | lib: prefix diff call with command to bypass diff aliases | Marc Cornellà | |
See https://github.com/ohmyzsh/ohmyzsh/pull/8807#issuecomment-652697704 | |||
2020-07-01 | lib: enable diff color (#8807) | Monson Shao | |
2019-05-08 | Themes: 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-22 | Colored ls output in FreeBSD #7565 | Yannis Mitsos | |
2019-04-08 | lib: delete PS1 default | Marc Cornellà | |
A default PS1 doesn't make sense: the user will either choose a theme or not care about a default prompt since they can set it themselves. Fixes #7054 | |||
2016-11-03 | Fix #5604: No DIR ( directory ) colors (#5605) | mingang.he | |
2016-11-02 | Fix invalid "ls -G" alias. | Eduardo Cuomo | |
2016-11-02 | Check dircolors settings before using gls on darwin (#5570) | Marc Cornellà | |
`gls` seems to be installed by default or on most macOS systems, but its default color scheme sucks. This fix will make sure to only use it if it has been customised prior to running OMZ. Related: #5516, #5520. | |||
2016-10-11 | Fix ls coloring in MacOS if gls is not installed | Marc Cornellà | |
Fixes #5520. | |||
2016-10-10 | Fix ls colouring for Darwin. (#5516) | rossmcf | |
2016-10-10 | Use OSTYPE instead of uname whenever possible for better speed. (#5496) | Hong | |
2016-10-10 | Take advantage of LS_COLORS for the color of completion if GNU ls is used. ↵ | Hong | |
(#5510) | |||
2016-10-04 | Fix style of theme-and-appearance.zsh | Marc Cornellà | |
2016-10-04 | Only set default LS_COLORS if not set before | Marc Cornellà | |
Also, force the use of Bourne-style shell syntax with `dircolors -b`. | |||
2016-10-04 | Use `$commands[]` to check for command existence | Marc Cornellà | |
2016-10-04 | set better default colors for GNU ls instead of none. | Hong Xu | |
GNU coreutils ship a color setup command by default which can be used to set a good default color theme for ls: https://www.gnu.org/software/coreutils/manual/html_node/dircolors-invocation.html | |||
2016-05-12 | Cleanup theme-and-appearance.zsh | Marc Cornellà | |
2016-05-12 | Delete cdablevars option by default | Marc Cornellà | |
Fixes weird autocompletion of directories and named users. Fix #4864 | |||
2015-09-19 | Merge pull request #2751 from drm00/fix-openbsd-colorls | Robby Russell | |
add check for colored ls on openbsd. (retry of #2225) | |||
2015-02-10 | Clean up appearance lib file and redundant `colors` calls in other files | Marc Cornellà | |
2014-04-25 | add check for colored ls on openbsd. (retry of #2225) | drm00 | |
2013-11-14 | Add support for colored ls output on OpenBSD | Petter Abrahamsson | |
2013-01-03 | Fixed coding style | Cosmin Lu?ă | |
2012-12-31 | Fixed issue with NetBSD's ls | Cosmin Lu?ă | |
2011-02-21 | Merge branch 'nicoulaj-theme' of https://github.com/nicoulaj/oh-my-zsh into ↵ | Robby Russell | |
nicoulaj-nicoulaj-theme | |||
2010-11-20 | Rename appearance.zsh so that it gets loaded after spectrum.zsh. | Julien Nicoulaud | |
Allows to use 256 colors in prompt themes. |