please work now
This commit is contained in:
parent
f2eaebcfd6
commit
020ab0e16d
3 changed files with 13 additions and 21 deletions
|
@ -1671,4 +1671,3 @@
|
||||||
typeset -g POWERLEVEL9K_CONFIG_FILE=${${(%):-%x}:a}
|
typeset -g POWERLEVEL9K_CONFIG_FILE=${${(%):-%x}:a}
|
||||||
|
|
||||||
(( ${#p10k_config_opts} )) && setopt ${p10k_config_opts[@]}
|
(( ${#p10k_config_opts} )) && setopt ${p10k_config_opts[@]}
|
||||||
'
|
|
||||||
|
|
|
@ -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
|
|
|
@ -19,14 +19,6 @@ in
|
||||||
|
|
||||||
home-manager.users.sako = { pkgs, ...}: {
|
home-manager.users.sako = { pkgs, ...}: {
|
||||||
home.file = {
|
home.file = {
|
||||||
".zshrc" = {
|
|
||||||
enable = true;
|
|
||||||
source = ../../../config/zsh/zshrc.zsh;
|
|
||||||
};
|
|
||||||
".p10k.zsh" = {
|
|
||||||
enable = true;
|
|
||||||
source = ../../../config/zsh/p10k.zsh;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -38,10 +30,20 @@ in
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "chisui";
|
owner = "chisui";
|
||||||
repo = "zsh-nix-shell";
|
repo = "zsh-nix-shell";
|
||||||
rev = "v0.7.0";
|
rev = "v0.5.0";
|
||||||
sha256 = "oQpYKBt0gmOSBgay2HgbXiDoZo5FoUKwyHSlUrOAP5E=";
|
sha256 = "0za4aiwwrlawnia4f29msk822rj9bgcygw6a8a6iikiwzjjz0g91";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "powerlevel10k";
|
||||||
|
src = pkgs.zsh-powerlevel10k;
|
||||||
|
file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "powerlevel10k-config";
|
||||||
|
src = ../../../config/zsh;
|
||||||
|
file = "p10k.zsh";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue