sailor95 / work-bashrc

David's bashrc including git alias

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My Bash Config

Setup notes, use README on the master branch as the single source of truth.

Setup for Mac

cd ~
touch .bash_profile // Source .bashrc here
touch .bashrc

Setup for Windows 10

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

Troubleshooting

About

David's bashrc including git alias


Languages

Language:Shell 100.0%