nixos/home-manager/zsh.nix
Greg Leyda beaf5202ca flakes
2022-07-09 11:27:58 -04:00

32 lines
712 B
Nix
Executable file

{
programs = {
zsh = {
enable = true;
enableAutosuggestions = true;
enableSyntaxHighlighting = true;
completionInit = "neofetch";
};
starship = {
enable = true;
enableZshIntegration = true;
settings = {
add_newline = false;
format="$sudo \n $directory$git_branch$character";
character = {
success_symbol = "[](#9ece6a bold)";
error_symbol = "[](#db4b4b bold)";
};
directory = {
read_only = " ";
};
git_branch = {
style = "bold red";
};
sudo ={
format = "[ ](#7aa2f7)";
disabled = false;
};
};
};
};
}