fix(omz): replace initBeforeCompInit due to deprication

This commit is contained in:
2026-03-14 20:23:19 +01:00
parent eda6cd9997
commit 34cad2a944

View File

@@ -1,4 +1,4 @@
{ config, pkgs, inputs, ... }:
{ config, lib, pkgs, inputs, ... }:
{
# configure z-shell to use omz with some plugins
@@ -13,7 +13,7 @@
plugins = [ "git" "ssh-agent" "gpg-agent" ];
};
# only display a fancy theme when glyphs are rendered
initExtraBeforeCompInit = ''
initContent = lib.mkOrder 550 ''
if [[ "$TERM" == "linux" || "$TERM" == "screen" ]]; then
ZSH_THEME="gentoo"
else