.profile: Add autocompletion for dot
bout gd time
This commit is contained in:
		
							
								
								
									
										4
									
								
								.profile
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								.profile
									
									
									
									
									
								
							@@ -262,6 +262,10 @@ fi
 | 
			
		||||
if [ -d "$HOME/.dotfiles" ]; then
 | 
			
		||||
	dotcmd='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
 | 
			
		||||
	alias dot="$dotcmd"
 | 
			
		||||
	if [ -f "/usr/share/bash-completion/completions/git" ] && [ "$_baseshell" == "bash" ]; then
 | 
			
		||||
		. "/usr/share/bash-completion/completions/git"
 | 
			
		||||
		__git_complete dot _git
 | 
			
		||||
	fi
 | 
			
		||||
	alias dotupdate="\
 | 
			
		||||
		printf 'Pulling...\n'
 | 
			
		||||
		$dotcmd pull
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user