fix(omz): replace initBeforeCompInit due to deprication
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, inputs, ... }:
|
{ config, lib, pkgs, inputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# configure z-shell to use omz with some plugins
|
# configure z-shell to use omz with some plugins
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
plugins = [ "git" "ssh-agent" "gpg-agent" ];
|
plugins = [ "git" "ssh-agent" "gpg-agent" ];
|
||||||
};
|
};
|
||||||
# only display a fancy theme when glyphs are rendered
|
# only display a fancy theme when glyphs are rendered
|
||||||
initExtraBeforeCompInit = ''
|
initContent = lib.mkOrder 550 ''
|
||||||
if [[ "$TERM" == "linux" || "$TERM" == "screen" ]]; then
|
if [[ "$TERM" == "linux" || "$TERM" == "screen" ]]; then
|
||||||
ZSH_THEME="gentoo"
|
ZSH_THEME="gentoo"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user