feat: split configuration
This commit is contained in:
		
							
								
								
									
										23
									
								
								config.bash
									
									
									
									
									
								
							
							
						
						
									
										23
									
								
								config.bash
									
									
									
									
									
								
							@@ -1,9 +1,10 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
# Configuration GIT
 | 
			
		||||
 | 
			
		||||
git config --global user.name "Xavier Logerais"
 | 
			
		||||
git config --global user.email "xavier@logerais.com"
 | 
			
		||||
for file in config.d/*.bash
 | 
			
		||||
do
 | 
			
		||||
  bash $file
 | 
			
		||||
done
 | 
			
		||||
 | 
			
		||||
# Configuration BASH
 | 
			
		||||
 | 
			
		||||
@@ -28,19 +29,3 @@ then
 | 
			
		||||
    git clone https://github.com/AstroNvim/AstroNvim ~/.config/nvim
 | 
			
		||||
    nvim +PackerSync
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Configuration SCREEN
 | 
			
		||||
 | 
			
		||||
if [[ ! -d ~/.screen ]]
 | 
			
		||||
then
 | 
			
		||||
    git clone --recursive https://github.com/xlogerais/config-screen.git ~/.screen
 | 
			
		||||
    bash ~/.screen/create-links.bash
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Configuration TMUX
 | 
			
		||||
 | 
			
		||||
if [[ ! -d ~/.tmux ]]
 | 
			
		||||
then
 | 
			
		||||
    git clone --recursive https://github.com/xlogerais/config-tmux.git ~/.tmux
 | 
			
		||||
    bash ~/.tmux/create-links.bash
 | 
			
		||||
fi
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user