programs.zsh: rename oh-my-zsh to ohMyZsh

This is intended to provide better consistency with other NixOS modules.
Please refer to mayflower/nixpkgs#21 for further information.
This commit is contained in:
Maximilian Bosch 2017-05-25 10:51:26 +02:00
parent c9e63ded80
commit a549596700
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
2 changed files with 6 additions and 2 deletions

View File

@ -3,11 +3,11 @@
with lib;
let
cfg = config.programs.zsh.oh-my-zsh;
cfg = config.programs.zsh.ohMyZsh;
in
{
options = {
programs.zsh.oh-my-zsh = {
programs.zsh.ohMyZsh = {
enable = mkOption {
default = false;
description = ''

View File

@ -210,5 +210,9 @@ with lib;
(mkRenamedOptionModule [ "programs" "zsh" "syntax-highlighting" "enable" ] [ "programs" "zsh" "syntaxHighlighting" "enable" ])
(mkRenamedOptionModule [ "programs" "zsh" "syntax-highlighting" "highlighters" ] [ "programs" "zsh" "syntaxHighlighting" "highlighters" ])
(mkRenamedOptionModule [ "programs" "zsh" "syntax-highlighting" "patterns" ] [ "programs" "zsh" "syntaxHighlighting" "patterns" ])
(mkRenamedOptionModule [ "programs" "zsh" "oh-my-zsh" "enable" ] [ "programs" "zsh" "ohMyZsh" "enable" ])
(mkRenamedOptionModule [ "programs" "zsh" "oh-my-zsh" "theme" ] [ "programs" "zsh" "ohMyZsh" "theme" ])
(mkRenamedOptionModule [ "programs" "zsh" "oh-my-zsh" "custom" ] [ "programs" "zsh" "ohMyZsh" "custom" ])
(mkRenamedOptionModule [ "programs" "zsh" "oh-my-zsh" "plugins" ] [ "programs" "zsh" "ohMyZsh" "plugins" ])
];
}