From efd67c580b57e4297406ec1bbc48bbb374d7c55c Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Mon, 28 Apr 2025 08:09:25 +0200 Subject: [PATCH] refactor: replace deprecated initExtra with initContent --- horsch/zsh.nix | 2 +- shell/zsh.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/horsch/zsh.nix b/horsch/zsh.nix index 6ad47d6..b84f340 100644 --- a/horsch/zsh.nix +++ b/horsch/zsh.nix @@ -1,6 +1,6 @@ { ... }: { - programs.zsh.initExtra = '' + programs.zsh.initContent = '' if [ -f $HOME/.nix-profile/etc/profile.d/nix.sh ]; then source $HOME/.nix-profile/etc/profile.d/nix.sh diff --git a/shell/zsh.nix b/shell/zsh.nix index 1b37e36..76710fd 100644 --- a/shell/zsh.nix +++ b/shell/zsh.nix @@ -13,7 +13,7 @@ in highlight = zsh_autosuggest_highlight_style; }; - initExtra = '' + initContent = '' function set_win_title(){ local TITLE=$(git config --get remote.origin.url || echo "$PWD") echo -ne "\033]0; $(basename "$TITLE") \007"