diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2019-11-07 17:29:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-07 17:29:57 -0500 |
commit | c403d66b8552027d06988aa651d016196fe1f26c (patch) | |
tree | 1cffed00535becc3712b56782d841520ba09f0b9 /nixos/modules/programs | |
parent | 90e5be095c93091aadb4673d2ec5067a3ae7c919 (diff) | |
parent | 35ae47e44bc3c05a1e8db4df857c7e43da535312 (diff) | |
download | nixpkgs-c403d66b8552027d06988aa651d016196fe1f26c.tar nixpkgs-c403d66b8552027d06988aa651d016196fe1f26c.tar.gz nixpkgs-c403d66b8552027d06988aa651d016196fe1f26c.tar.bz2 nixpkgs-c403d66b8552027d06988aa651d016196fe1f26c.tar.lz nixpkgs-c403d66b8552027d06988aa651d016196fe1f26c.tar.xz nixpkgs-c403d66b8552027d06988aa651d016196fe1f26c.tar.zst nixpkgs-c403d66b8552027d06988aa651d016196fe1f26c.zip |
Merge pull request #71825 from AIDEA775/fix/zsh-syntax-highlighting
nixos/zsh-syntax-highlighting: Fix highlighting when ohMyZsh is enabled
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r-- | nixos/modules/programs/zsh/zsh-syntax-highlighting.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/programs/zsh/zsh-syntax-highlighting.nix b/nixos/modules/programs/zsh/zsh-syntax-highlighting.nix index 7184e5d9b9a..c84d26a7921 100644 --- a/nixos/modules/programs/zsh/zsh-syntax-highlighting.nix +++ b/nixos/modules/programs/zsh/zsh-syntax-highlighting.nix @@ -81,7 +81,7 @@ in ]; programs.zsh.interactiveShellInit = with pkgs; - lib.concatStringsSep "\n" ([ + lib.mkAfter (lib.concatStringsSep "\n" ([ "source ${zsh-syntax-highlighting}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ] ++ optional (length(cfg.highlighters) > 0) "ZSH_HIGHLIGHT_HIGHLIGHTERS=(${concatStringsSep " " cfg.highlighters})" @@ -95,6 +95,6 @@ in styles: design: "ZSH_HIGHLIGHT_STYLES[${styles}]='${design}'" ) cfg.styles) - ); + )); }; } |