Fix starship de manière plus élégante
This commit is contained in:
		
							parent
							
								
									f68d1a89ce
								
							
						
					
					
						commit
						09c5196d12
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		
							
								
								
									
										5
									
								
								rc.elv
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								rc.elv
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -24,10 +24,7 @@ set edit:insert:binding[Ctrl-H] = $edit:histlist:start~
 | 
			
		|||
 | 
			
		||||
# Starship prompt : https://starship.rs/
 | 
			
		||||
#eval (starship init elvish)
 | 
			
		||||
{
 | 
			
		||||
  use re
 | 
			
		||||
  eval (re:replace 'except' 'catch' (starship init elvish --print-full-init | slurp))
 | 
			
		||||
}
 | 
			
		||||
eval (starship init elvish --print-full-init | sed 's/except/catch/' | slurp)
 | 
			
		||||
 | 
			
		||||
# Carapace completion : https://github.com/rsteube/carapace-bin
 | 
			
		||||
eval (carapace _carapace|slurp)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue