Update bashrc to check for local bash completions
This commit is contained in:
		@@ -5,6 +5,11 @@
 | 
				
			|||||||
# Do not install completions unless no working, check /usr/share/bash-completion
 | 
					# Do not install completions unless no working, check /usr/share/bash-completion
 | 
				
			||||||
eval "$(zoxide init bash)"
 | 
					eval "$(zoxide init bash)"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Local bash-completion
 | 
				
			||||||
 | 
					if [[ -f $HOME/.local/bin/bash_completion ]]; then
 | 
				
			||||||
 | 
						source $HOME/.local/bin/bash_completion
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Set aliases
 | 
					# Set aliases
 | 
				
			||||||
alias grep="ugrep"
 | 
					alias grep="ugrep"
 | 
				
			||||||
alias cd="z"
 | 
					alias cd="z"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,5 @@
 | 
				
			|||||||
# If running interactively, then:
 | 
					# If running interactively, then:
 | 
				
			||||||
if ($?prompt) then
 | 
					if ($?prompt) then
 | 
				
			||||||
    set SHELL = "/usr/bin/bash" && exec $SHELL
 | 
					    set SHELL = "/usr/bin/bash"
 | 
				
			||||||
 | 
						exec $SHELL
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
		Reference in New Issue
	
	Block a user