Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git autocomplete branch name mac

# add following line to ~/.zshrc file & restart your Terminal application:
autoload -Uz compinit && compinit

# Alternatively, you can run following two commands in your Terminal 
# application to add necessary line to .zshrc file and restart your shell.

echo 'autoload -Uz compinit && compinit' >> ~/.zshrc
source ~/.zshrc

# Git tab autocomplete is now enabled on your Mac.
Source by www.macinstruct.com #
 
PREVIOUS NEXT
Tagged: #git #autocomplete #branch #mac
ADD COMMENT
Topic
Name
4+3 =