From a549596700e63b2d6b1e6d90355d3afa983404d7 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 25 May 2017 10:51:26 +0200 Subject: [PATCH] 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. --- nixos/modules/programs/zsh/oh-my-zsh.nix | 4 ++-- nixos/modules/rename.nix | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/nixos/modules/programs/zsh/oh-my-zsh.nix b/nixos/modules/programs/zsh/oh-my-zsh.nix index 335f596ca80f..446c05da39d0 100644 --- a/nixos/modules/programs/zsh/oh-my-zsh.nix +++ b/nixos/modules/programs/zsh/oh-my-zsh.nix @@ -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 = '' diff --git a/nixos/modules/rename.nix b/nixos/modules/rename.nix index 3b64feeaa909..c3fb5758edeb 100644 --- a/nixos/modules/rename.nix +++ b/nixos/modules/rename.nix @@ -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" ]) ]; }