extended README for bootstrapping, alias
This commit is contained in:
		
							parent
							
								
									7266c6f828
								
							
						
					
					
						commit
						53520641cf
					
				
					 1 changed files with 14 additions and 2 deletions
				
			
		
							
								
								
									
										16
									
								
								README.md
									
										
									
									
									
								
							
							
						
						
									
										16
									
								
								README.md
									
										
									
									
									
								
							|  | @ -1,4 +1,16 @@ | |||
| systemsettings | ||||
| ============== | ||||
| # systemsettings | ||||
| 
 | ||||
| These are my config files, feel free to use them as an inspiration. If you have any questions, please file an issue. | ||||
| 
 | ||||
| ## Bootstrapping | ||||
| ```bash | ||||
| #! /bin/sh | ||||
| TMPDIR=$(mktemp -u -p "$HOME" -d dotfiles.XXXXX) | ||||
| git clone --separate-git-dir="$HOME/.cfg" git@github.com:schtobia/dotfiles.git "$TMPDIR" | ||||
| [ -r "$TMPDIR/.gitmodules" ] && cp -vi "$TMPDIR/.gitmodules" "$HOME" | ||||
| git --git-dir="$HOME/.cfg/" --work-tree="$HOME" config status.showUntrackedFiles no | ||||
| rm -r $TMPDIR | ||||
| ``` | ||||
| ## Alias | ||||
| 
 | ||||
| 	alias config='git --git-dir="$HOME/.cfg/" --work-tree="$HOME"' | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue