home-manager: Use new zsh options
`initExtraBeforeCompInit` and `initExtra` have both been merged into `initContent`, and realistically it's okay to have our theme load after compinit.
This commit is contained in:
parent
1b5d5662c4
commit
d068014e2e
1 changed files with 4 additions and 3 deletions
|
@ -53,10 +53,11 @@ in
|
|||
# We use powerlevel10k as our ZSH theme.
|
||||
# By using the derivation in nixpkgs, we also get gitstatusd.
|
||||
# The .p10k.zsh config is beneath.
|
||||
initExtraBeforeCompInit = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
|
||||
#
|
||||
# We then add custom configurations.
|
||||
initContent = ''
|
||||
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
|
||||
|
||||
# Some custom configurations:
|
||||
initExtra = ''
|
||||
# pushd
|
||||
setopt AUTO_PUSHD
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue