fix(prompt): switch from pure-prompt to starship
This commit is contained in:
parent
2dc698c8ab
commit
36e47947bd
|
@ -80,10 +80,29 @@
|
|||
|
||||
enableAutosuggestions = true;
|
||||
enableSyntaxHighlighting = true;
|
||||
initExtra = ''
|
||||
source ${pkgs.grml-zsh-config}/etc/zsh/zshrc
|
||||
prompt pure
|
||||
'';
|
||||
# initExtra = ''
|
||||
# source ${pkgs.grml-zsh-config}/etc/zsh/zshrc
|
||||
# prompt pure
|
||||
# '';
|
||||
};
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
# enableNushellIntegration = true;
|
||||
settings = {
|
||||
directory ={
|
||||
truncation_length = 0;
|
||||
};
|
||||
helm = {
|
||||
disabled = true;
|
||||
};
|
||||
kubernetes = {
|
||||
disabled = false;
|
||||
format = "[$symbol$cluster( \($namespace\))]($style) in ";
|
||||
detect_extensions = [
|
||||
"package" # helm
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
programs.direnv.enable = true;
|
||||
programs.gitui.enable = true;
|
||||
|
|
|
@ -56,8 +56,8 @@
|
|||
unzip
|
||||
unrar
|
||||
home-manager
|
||||
# nice prompt together with grml
|
||||
pure-prompt
|
||||
## nice prompt together with grml
|
||||
# pure-prompt
|
||||
];
|
||||
environment.shellAliases = {
|
||||
ip = "ip --color";
|
||||
|
@ -84,12 +84,35 @@
|
|||
autosuggestions.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
# interactiveShellInit = ''
|
||||
promptInit = ''
|
||||
source ${pkgs.grml-zsh-config}/etc/zsh/zshrc
|
||||
prompt pure;
|
||||
'';
|
||||
# promptInit = ''
|
||||
# source ${pkgs.grml-zsh-config}/etc/zsh/zshrc
|
||||
# prompt pure;
|
||||
# '';
|
||||
# promptInit = "";
|
||||
};
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
settings = {
|
||||
directory ={
|
||||
truncation_length = 0;
|
||||
};
|
||||
helm = {
|
||||
disabled = true;
|
||||
};
|
||||
kubernetes = {
|
||||
disabled = false;
|
||||
format = "[$symbol$cluster( \($namespace\))]($style) in ";
|
||||
detect_extensions = [
|
||||
"package" # helm
|
||||
];
|
||||
detect_folders = [
|
||||
"flux-system"
|
||||
"helm"
|
||||
"templates"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# tmux
|
||||
imports = [ ./files/tmux.nix ];
|
||||
|
|
Loading…
Reference in New Issue