Use Starship prompt
This commit is contained in:
parent
0e7550da06
commit
a387bbd157
2 changed files with 11 additions and 1743 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -24,7 +24,6 @@ in {
|
||||||
enableAutosuggestions = true;
|
enableAutosuggestions = true;
|
||||||
enableSyntaxHighlighting = true;
|
enableSyntaxHighlighting = true;
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
source ${./p10k.zsh}
|
|
||||||
autoload -Uz up-line-or-beginning-search down-line-or-beginning-search
|
autoload -Uz up-line-or-beginning-search down-line-or-beginning-search
|
||||||
zle -N up-line-or-beginning-search
|
zle -N up-line-or-beginning-search
|
||||||
zle -N down-line-or-beginning-search
|
zle -N down-line-or-beginning-search
|
||||||
|
|
@ -39,15 +38,6 @@ in {
|
||||||
plugins = [ "git" "terraform" "systemd" ];
|
plugins = [ "git" "terraform" "systemd" ];
|
||||||
};
|
};
|
||||||
plugins = [
|
plugins = [
|
||||||
{
|
|
||||||
name = "powerlevel10k";
|
|
||||||
src = pkgs.zsh-powerlevel10k;
|
|
||||||
file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "powerlevel10k-config";
|
|
||||||
src = ./p10k.zsh;
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
name = "nix-zsh-completions";
|
name = "nix-zsh-completions";
|
||||||
src = pkgs.nix-zsh-completions;
|
src = pkgs.nix-zsh-completions;
|
||||||
|
|
@ -58,6 +48,17 @@ in {
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
programs.starship = {
|
||||||
|
enable = true;
|
||||||
|
enableZshIntegration = true;
|
||||||
|
settings = {
|
||||||
|
add_newline = true;
|
||||||
|
scala = { symbol = " "; };
|
||||||
|
terraform = { symbol = " "; };
|
||||||
|
nix_shell = { symbol = " "; };
|
||||||
|
nodejs = { symbol = " "; };
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue