.profile: Pull in dotupdate
This commit is contained in:
		
							
								
								
									
										2
									
								
								.profile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								.profile
									
									
									
									
									
								
							@@ -53,6 +53,8 @@ if [ -d "$HOME/.dotfiles" ]; then
 | 
			
		||||
	dotcmd='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
 | 
			
		||||
	alias dot="$dotcmd"
 | 
			
		||||
	alias dotupdate="\
 | 
			
		||||
		printf 'Pulling...\n'; \
 | 
			
		||||
		$dotcmd pull
 | 
			
		||||
		printf 'Updating submodules...\n'; \
 | 
			
		||||
		$dotcmd submodule update --init; \
 | 
			
		||||
		printf 'Checking out masters...\n'; \
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user