🧹 cleaner zsh + starship integration

This commit is contained in:
James Walker 2021-03-26 16:11:19 -04:00
parent 16b8bd53b1
commit 5ce1a02d1b
Signed by: walkah
GPG Key ID: 3C127179D6086E93
2 changed files with 7 additions and 6 deletions

View File

@ -25,7 +25,12 @@
}]; }];
# Create /etc/bashrc that loads the nix-darwin environment. # 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; # programs.fish.enable = true;
users.nix.configureBuildUsers = true; users.nix.configureBuildUsers = true;

View File

@ -57,10 +57,6 @@
enable = true; enable = true;
enableAutosuggestions = true; enableAutosuggestions = true;
enableCompletion = true; enableCompletion = true;
initExtra = ''
unset RPS1
eval $(starship init zsh)
'';
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
plugins = [ plugins = [
@ -82,7 +78,7 @@
}; };
starship = { starship = {
enable = true; enable = true;
enableZshIntegration = false; enableZshIntegration = true;
settings = { settings = {
character = { character = {
success_symbol = "[»](bold green) "; success_symbol = "[»](bold green) ";