~/.dotfiles/.brewfile_local.sh -- loaded by ~/.bashrc for private data,
August 13, 2016 · View on GitHub
#!/bin/bash
~/.dotfiles/.brewfile_local.sh -- loaded by ~/.bashrc for private data,
an example for my github.com/christophera/dotfiles project
~/.bash_profile.local is sourced by ~/.bashrc for shell code which will be
.gitignored and thus not be backed up into the .dotfiles repository.
Load on a new machine via:
$ curl -L https://gist.github.com/ChristopherA/503b172a5fcae5410492/raw/.bash_profile.local > ~/.bash_profile.local; source ~/.bash_profile.local
echo "...~/.bash_profile.local loaded."
Git credentials
Not under version control to prevent people from
accidentally committing with these details
GIT_AUTHOR_NAME="ChristopherA" GIT_AUTHOR_EMAIL="ChristopherA@LifeWithAlacrity.com" GIT_COMMITTER_NAME="GIT_AUTHOR_EMAIL"
Set the credentials (modifies ~/.gitconfig)
git config --global user.name "GIT_AUTHOR_EMAIL"