mirror of
				https://github.com/wlcx/home.git
				synced 2025-11-03 22:33:45 +00:00 
			
		
		
		
	Tweak prompt format
This commit is contained in:
		
							parent
							
								
									e12f558061
								
							
						
					
					
						commit
						906fe6dfb8
					
				
							
								
								
									
										4
									
								
								home.nix
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								home.nix
									
									
									
									
									
								
							@ -31,9 +31,11 @@ in {
 | 
				
			|||||||
      settings = {
 | 
					      settings = {
 | 
				
			||||||
        add_newline = false;
 | 
					        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";
 | 
					        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";
 | 
				
			||||||
 | 
					        username.format = ''[$user]($style) '';
 | 
				
			||||||
 | 
					        hostname.format = ''[$hostname]($style) '';
 | 
				
			||||||
 | 
					        git_branch.format = ''[$symbol$branch]($style) '';
 | 
				
			||||||
        python.format = '' [py ''${pyenv_prefix}(''${version} )(\($virtualenv\) )]($style)'';
 | 
					        python.format = '' [py ''${pyenv_prefix}(''${version} )(\($virtualenv\) )]($style)'';
 | 
				
			||||||
        nodejs.format = '' [js ($version )]($style)'';
 | 
					        nodejs.format = '' [js ($version )]($style)'';
 | 
				
			||||||
        git_branch.format = '' [$symbol$branch]($style)'';
 | 
					 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user