summary refs log tree commit diff
path: root/nixos/modules/programs/zsh/zsh.nix
diff options
context:
space:
mode:
authorIzorkin <izorkin@elven.pw>2019-06-08 20:36:24 +0300
committerMaximilian Bosch <maximilian@mbosch.me>2019-06-09 00:13:01 +0200
commit82ad143a5123b754c2f77b729690b86ad35553f4 (patch)
treed88434ae5f87318e285603f9df31a1ee33f3de41 /nixos/modules/programs/zsh/zsh.nix
parent70de27bbb4758038e5b87f725d964eefda4898e1 (diff)
downloadnixpkgs-82ad143a5123b754c2f77b729690b86ad35553f4.tar
nixpkgs-82ad143a5123b754c2f77b729690b86ad35553f4.tar.gz
nixpkgs-82ad143a5123b754c2f77b729690b86ad35553f4.tar.bz2
nixpkgs-82ad143a5123b754c2f77b729690b86ad35553f4.tar.lz
nixpkgs-82ad143a5123b754c2f77b729690b86ad35553f4.tar.xz
nixpkgs-82ad143a5123b754c2f77b729690b86ad35553f4.tar.zst
nixpkgs-82ad143a5123b754c2f77b729690b86ad35553f4.zip
nixos/zsh: move zsh setopt
Diffstat (limited to 'nixos/modules/programs/zsh/zsh.nix')
-rw-r--r--nixos/modules/programs/zsh/zsh.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/programs/zsh/zsh.nix b/nixos/modules/programs/zsh/zsh.nix
index bdb37eae23e..bd1a7768066 100644
--- a/nixos/modules/programs/zsh/zsh.nix
+++ b/nixos/modules/programs/zsh/zsh.nix
@@ -194,8 +194,6 @@ in
         HISTSIZE=${toString cfg.histSize}
         HISTFILE=${cfg.histFile}
 
-        ${optionalString (cfg.setOptions != []) "setopt ${concatStringsSep " " cfg.setOptions}"}
-
         HELPDIR="${pkgs.zsh}/share/zsh/$ZSH_VERSION/help"
 
         # Tell zsh how to find installed completions
@@ -209,6 +207,8 @@ in
 
         ${cfg.interactiveShellInit}
 
+        ${optionalString (cfg.setOptions != []) "setopt ${concatStringsSep " " cfg.setOptions}"}
+
         ${zshAliases}
 
         ${cfg.promptInit}