mirror of
				https://github.com/kastdeur/dotfiles.git
				synced 2025-10-31 03:06:35 +01:00 
			
		
		
		
	Hide submodules in root directory
This commit is contained in:
		
							parent
							
								
									37f41402ab
								
							
						
					
					
						commit
						07389ae819
					
				
					 6 changed files with 6 additions and 6 deletions
				
			
		
							
								
								
									
										4
									
								
								.gitmodules
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.gitmodules
									
										
									
									
										vendored
									
									
								
							|  | @ -1,6 +1,6 @@ | |||
| [submodule "dotbot"] | ||||
| 	path = dotbot | ||||
| 	path = .dotbot | ||||
| 	url = https://github.com/anishathalye/dotbot | ||||
| [submodule "password-store"] | ||||
| 	path = password-store | ||||
| 	path = .password-store | ||||
| 	url = https://git.zx2c4.com/password-store | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| # Enable password-storage and its bash completion | ||||
| 
 | ||||
| PASSDIR="${DOTFILES}/password-store" | ||||
| PASSDIR="${DOTFILES}/.password-store" | ||||
| 
 | ||||
| # Only do this when the submodule is loaded | ||||
| if [ -d "${PASSDIR}/src" ]; then | ||||
|  |  | |||
|  | @ -2,14 +2,14 @@ | |||
| 
 | ||||
| set -e | ||||
| 
 | ||||
| CONFIG="install.conf.yaml" | ||||
| DOTBOT_DIR="dotbot" | ||||
| CONFIG=".install.conf.yaml" | ||||
| DOTBOT_DIR=".dotbot" | ||||
| 
 | ||||
| DOTBOT_BIN="bin/dotbot" | ||||
| BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||||
| 
 | ||||
| cd "${BASEDIR}" | ||||
| git pull | ||||
| git pull || echo "Pulling from remote failed" | ||||
| git submodule update --init --recursive "${DOTBOT_DIR}" | ||||
| 
 | ||||
| "${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Eric Teunis de Boone
						Eric Teunis de Boone