summaryrefslogtreecommitdiff
path: root/lib/theme-and-appearance.zsh
AgeCommit message (Collapse)Author
2021-10-10fix(lib): fix `diff --color` argument check for BSD systems (#10269)michael-yuji
2020-07-06lib: prefix diff call with command to bypass diff aliasesMarc Cornellà
See https://github.com/ohmyzsh/ohmyzsh/pull/8807#issuecomment-652697704
2020-07-01lib: enable diff color (#8807)Monson Shao
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-22Colored ls output in FreeBSD #7565Yannis Mitsos
2019-04-08lib: delete PS1 defaultMarc 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-03Fix #5604: No DIR ( directory ) colors (#5605)mingang.he
2016-11-02Fix invalid "ls -G" alias.Eduardo Cuomo
2016-11-02Check 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-11Fix ls coloring in MacOS if gls is not installedMarc Cornellà
Fixes #5520.
2016-10-10Fix ls colouring for Darwin. (#5516)rossmcf
2016-10-10Use OSTYPE instead of uname whenever possible for better speed. (#5496)Hong
2016-10-10Take advantage of LS_COLORS for the color of completion if GNU ls is used. ↵Hong
(#5510)
2016-10-04Fix style of theme-and-appearance.zshMarc Cornellà
2016-10-04Only set default LS_COLORS if not set beforeMarc Cornellà
Also, force the use of Bourne-style shell syntax with `dircolors -b`.
2016-10-04Use `$commands[]` to check for command existenceMarc Cornellà
2016-10-04set 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-12Cleanup theme-and-appearance.zshMarc Cornellà
2016-05-12Delete cdablevars option by defaultMarc Cornellà
Fixes weird autocompletion of directories and named users. Fix #4864
2015-09-19Merge pull request #2751 from drm00/fix-openbsd-colorlsRobby Russell
add check for colored ls on openbsd. (retry of #2225)
2015-02-10Clean up appearance lib file and redundant `colors` calls in other filesMarc Cornellà
2014-04-25add check for colored ls on openbsd. (retry of #2225)drm00
2013-11-14Add support for colored ls output on OpenBSDPetter Abrahamsson
2013-01-03Fixed coding styleCosmin Lu?ă
2012-12-31Fixed issue with NetBSD's lsCosmin Lu?ă
2011-02-21Merge branch 'nicoulaj-theme' of https://github.com/nicoulaj/oh-my-zsh into ↵Robby Russell
nicoulaj-nicoulaj-theme
2010-11-20Rename appearance.zsh so that it gets loaded after spectrum.zsh.Julien Nicoulaud
Allows to use 256 colors in prompt themes.