mirror of
				https://github.com/wlcx/home.git
				synced 2025-11-03 22:33:45 +00:00 
			
		
		
		
	Swap prezto for starship
This commit is contained in:
		
							parent
							
								
									aa68e8619a
								
							
						
					
					
						commit
						e12f558061
					
				
							
								
								
									
										16
									
								
								home.nix
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								home.nix
									
									
									
									
									
								
							@ -18,10 +18,7 @@ in {
 | 
				
			|||||||
        hmswitch = ''home-manager switch --flake ".#$(hostname -s)"'';
 | 
					        hmswitch = ''home-manager switch --flake ".#$(hostname -s)"'';
 | 
				
			||||||
        nrswitch = "nixos-rebuild switch --flake '.#'";
 | 
					        nrswitch = "nixos-rebuild switch --flake '.#'";
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
      prezto = {
 | 
					
 | 
				
			||||||
        enable = true;
 | 
					 | 
				
			||||||
        prompt.theme = "giddie";
 | 
					 | 
				
			||||||
      };
 | 
					 | 
				
			||||||
      plugins = [{
 | 
					      plugins = [{
 | 
				
			||||||
        name = "zsh-z";
 | 
					        name = "zsh-z";
 | 
				
			||||||
        file = "share/zsh-z/zsh-z.plugin.zsh";
 | 
					        file = "share/zsh-z/zsh-z.plugin.zsh";
 | 
				
			||||||
@ -29,6 +26,17 @@ in {
 | 
				
			|||||||
      }];
 | 
					      }];
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    starship = {
 | 
				
			||||||
 | 
					      enable = true;
 | 
				
			||||||
 | 
					      settings = {
 | 
				
			||||||
 | 
					        add_newline = false;
 | 
				
			||||||
 | 
					        format = "$username$hostname$shlvl$directory$git_branch$git_commit$git_state$git_metrics$git_status$hg_branch$docker_context$golang$kotlin$nodejs$python$rust$terraform$nix_shell$memory_usage$aws$gcloud$openstack$azure$env_var$crystal$custom$sudo$cmd_duration$line_break$jobs$status$shell$character";
 | 
				
			||||||
 | 
					        python.format = '' [py ''${pyenv_prefix}(''${version} )(\($virtualenv\) )]($style)'';
 | 
				
			||||||
 | 
					        nodejs.format = '' [js ($version )]($style)'';
 | 
				
			||||||
 | 
					        git_branch.format = '' [$symbol$branch]($style)'';
 | 
				
			||||||
 | 
					      };
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    direnv = {
 | 
					    direnv = {
 | 
				
			||||||
      enable = true;
 | 
					      enable = true;
 | 
				
			||||||
      nix-direnv.enable = true;
 | 
					      nix-direnv.enable = true;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user