Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 542 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 542 Bytes

windows

C:\Program Files\Git\etc\bash.bashrc

Append to the end of the file:

# System-wide bashrc file
if [ -f ~/.bashrc ]; then
    source ~/.bashrc
fi

copy

Add-Content -Path "C:\Program Files\Git\etc\bash.bashrc" -Value '# System-wide bashrc file'
Add-Content -Path "C:\Program Files\Git\etc\bash.bashrc" -Value 'if [ -f ~/.bashrc ]; then'
Add-Content -Path "C:\Program Files\Git\etc\bash.bashrc" -Value '    source ~/.bashrc'
Add-Content -Path "C:\Program Files\Git\etc\bash.bashrc" -Value 'fi'