refactor: replace deprecated initExtra with initContent
This commit is contained in:
parent
e125a6197b
commit
efd67c580b
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue