A collection of my .dotfiles
including a setup script. This script will
set up all the things.
cd ~
git clone https://github.com/mrlesmithjr/dotfiles .dotfiles --recursive
The following will be set up using this method:
- dotfiles
- Python
- Brew
cd ~/.dotfiles
./install
cd ~/.dotfiles
./minimal-install
To make this portable between Linux
and macOS
we need to use both. The
the reason is that for macOS
the default is to use .bash_profile
and ignore
.bashrc
whereas on Linux
.bash_profile
is only used for interactive
logins (ssh, terminal, etc.) and ignored from GUI-based terminal sessions.
And then we can add all of our goodies to .bashrc
. And in doing so,
everything works as planned in all scenarios between Linux
and macOS
.
Make sure to reset the user, email, and other personal settings. Or you'll be using mine.
git config --global --unset commit.gpgsign
git config --global --unset gpg.format
git config --global --unset gpg.ssh.allowedsignersfile
git config --global --unset gpg.ssh.program
git config --global --unset user.email
git config --global --unset user.name
git config --global --unset user.signingkey
I've included a few different options to install Homebrew packages for simplicity.
To install a minimal setup execute:
brew bundle --file homebrew/Brewfile.minimal
To install a full setup execute either:
brew bundle --file homebrew/Brewfile
or:
brew bundle --global
MIT
Larry Smith Jr.