Compare commits
	
		
			3 Commits
		
	
	
		
			972d7c2390
			...
			6cfdf3d893
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					6cfdf3d893 | ||
| 
						 | 
					16a3d01993 | ||
| 
						 | 
					f247a375d8 | 
@@ -1,13 +1,5 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
# Configuration BASH
 | 
			
		||||
 | 
			
		||||
if [[ ! -d ~/.bash ]]
 | 
			
		||||
then
 | 
			
		||||
    git clone --recursive https://github.com/xlogerais/config-bash.git ~/.bash
 | 
			
		||||
    bash ~/.bash/create-links.bash
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
for file in config.d/*.bash
 | 
			
		||||
do
 | 
			
		||||
  bash $file
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										9
									
								
								config.d/bash.bash
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								config.d/bash.bash
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
# Configuration BASH
 | 
			
		||||
 | 
			
		||||
if [[ ! -d ~/.bash ]]
 | 
			
		||||
then
 | 
			
		||||
    git clone --recursive https://github.com/xlogerais/config-bash.git ~/.bash
 | 
			
		||||
    bash ~/.bash/create-links.bash
 | 
			
		||||
fi
 | 
			
		||||
@@ -6,3 +6,13 @@ git config --global user.name "Xavier Logerais"
 | 
			
		||||
git config --global user.email "xavier@logerais.com"
 | 
			
		||||
git config --global rerere.enabled 1
 | 
			
		||||
git config --global merge.conflictstyle diff3
 | 
			
		||||
 | 
			
		||||
cat <<EOF >~/.gitignore
 | 
			
		||||
# asdf
 | 
			
		||||
.tool-versions
 | 
			
		||||
# direnv
 | 
			
		||||
.envrc
 | 
			
		||||
.direnv
 | 
			
		||||
EOF
 | 
			
		||||
 | 
			
		||||
git config --global core.excludesfile ~/.gitignore
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										7
									
								
								tools.d/mise.bash
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								tools.d/mise.bash
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
# Install mise-en-place
 | 
			
		||||
 | 
			
		||||
if (command -v mise &>/dev/null); then
 | 
			
		||||
	curl https://mise.run | sh
 | 
			
		||||
fi
 | 
			
		||||
		Reference in New Issue
	
	Block a user