Setup notes, use README on the master branch as the single source of truth.
cd ~
touch .bash_profile // Source .bashrc here
touch .bashrc
Since Windows now automatically read .bash_profile
on boot, add the following commands in .bash_profile
to check for .bashrc
file,
cd ~ # .bash_profile located here
within .bash_profile
add following script,
# generated by Git for Windows
test -f ~/.profile && . ~/.profile
test -f ~/.bashrc && . ~/.bashrc
within .bashrc
add following script (create .bashrc
in the same folder of the .bash_profile
manually if file not exist),
# Source my bashrc file location
source /c/Users/bugma/WorkBashrc/.DHbashrc
Ref: Git for Windows
- Not able to auto-complete in mac's terminal: https://stackoverflow.com/questions/30958195/mac-terminal-auto-complete
- Not able to install global npm: https://flaviocopes.com/npm-fix-missing-write-access-error/
- Mac's git bash not auto-complete: https://stackoverflow.com/questions/14970728/homebrew-s-git-not-using-completion