feat: add config for chezmoi
This commit is contained in:
		
							
								
								
									
										15
									
								
								config.d/chezmoi.bash
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								config.d/chezmoi.bash
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Configuration for chezmoi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# git_repo="https://github.com/AstroNvim/template"
 | 
				
			||||||
 | 
					# git_branch="main"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					git_repo="https://gitea.cloud.logerais.com/xavier/config-chezmoi.git"
 | 
				
			||||||
 | 
					git_branch="main"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if (command -v chezmoi); then
 | 
				
			||||||
 | 
					    chezmoi init https://gitea.cloud.logerais.com/xavier/config-chezmoi.git
 | 
				
			||||||
 | 
					    chezmoi apply ~/.config/mise
 | 
				
			||||||
 | 
					    mise install
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
		Reference in New Issue
	
	Block a user