please work now

This commit is contained in:
Sakooooo 2023-07-15 22:23:06 +03:00
parent f2eaebcfd6
commit 020ab0e16d
Signed by: sako
GPG key ID: 3FD715D87D7725E0
3 changed files with 13 additions and 21 deletions

View file

@ -1671,4 +1671,3 @@
typeset -g POWERLEVEL9K_CONFIG_FILE=${${(%):-%x}:a}
(( ${#p10k_config_opts} )) && setopt ${p10k_config_opts[@]}
'

View file

@ -1,9 +0,0 @@
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh

View file

@ -19,14 +19,6 @@ in
home-manager.users.sako = { pkgs, ...}: {
home.file = {
".zshrc" = {
enable = true;
source = ../../../config/zsh/zshrc.zsh;
};
".p10k.zsh" = {
enable = true;
source = ../../../config/zsh/p10k.zsh;
};
};
programs.zsh = {
enable = true;
@ -38,10 +30,20 @@ in
src = pkgs.fetchFromGitHub {
owner = "chisui";
repo = "zsh-nix-shell";
rev = "v0.7.0";
sha256 = "oQpYKBt0gmOSBgay2HgbXiDoZo5FoUKwyHSlUrOAP5E=";
rev = "v0.5.0";
sha256 = "0za4aiwwrlawnia4f29msk822rj9bgcygw6a8a6iikiwzjjz0g91";
};
}
{
name = "powerlevel10k";
src = pkgs.zsh-powerlevel10k;
file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
}
{
name = "powerlevel10k-config";
src = ../../../config/zsh;
file = "p10k.zsh";
}
];
};
};