🧹 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.
|
# 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;
|
||||||
|
6
home.nix
6
home.nix
@ -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) ";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user