🧹 cleaner zsh + starship integration
This commit is contained in:
parent
16b8bd53b1
commit
5ce1a02d1b
@ -25,7 +25,12 @@
|
||||
}];
|
||||
|
||||
# Create /etc/bashrc that loads the nix-darwin environment.
|
||||
programs.zsh.enable = true; # default shell on catalina
|
||||
programs = {
|
||||
zsh = {
|
||||
enable = true;
|
||||
promptInit = "";
|
||||
};
|
||||
};
|
||||
# programs.fish.enable = true;
|
||||
|
||||
users.nix.configureBuildUsers = true;
|
||||
|
6
home.nix
6
home.nix
@ -57,10 +57,6 @@
|
||||
enable = true;
|
||||
enableAutosuggestions = true;
|
||||
enableCompletion = true;
|
||||
initExtra = ''
|
||||
unset RPS1
|
||||
eval $(starship init zsh)
|
||||
'';
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = [
|
||||
@ -82,7 +78,7 @@
|
||||
};
|
||||
starship = {
|
||||
enable = true;
|
||||
enableZshIntegration = false;
|
||||
enableZshIntegration = true;
|
||||
settings = {
|
||||
character = {
|
||||
success_symbol = "[»](bold green) ";
|
||||
|
Loading…
x
Reference in New Issue
Block a user