nix-dotfiles/modules/hm/starship.nix
2024-11-03 11:22:27 +01:00

24 lines
716 B
Nix
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
programs.starship = {
enable = true;
enableBashIntegration = true;
enableNushellIntegration = true;
enableZshIntegration = true;
settings = {
command_timeout = 1000;
directory.truncation_symbol = "/";
hostname.format = "[$hostname]($style) "; # Disable ssh symbol
# line_break.disabled = true; # Prompt in one line
nix_shell.symbol = " "; # better soacing
python.python_binary = [
"python3"
"python2"
];
status = {
disabled = false; # enable module
format = "[$symbol $status]($style) "; # nicer status format
};
username.format = "[$user]($style)@"; # compact username format
};
};
}