My dot files shared between 💻
Note: The bootstrap.exclude.sh script creates symlinks from the dotfiles in this directory to the HOME directory. Make sure that your dotfiles are backed up somewhere safe.
Open a terminal and follow along!
- Clone this repository:
git clone https://github.com/oussaka/dotfiles
- CD into the folder:
cd dotfiles
- Execute the bootstrap script:
sh ./bootstrap.exclude.sh
- Restart your terminal or run
source .bash_profile
- You can customize these dotfiles using
.local
files. These can be used to add custom commands or configure things that you don't want to commit to a public repo.
For example, to overwrite stuff in the .bash_profile
file, make a file called .bash_profile.local
and put your stuff in there.
Note: When you make a new
.local
file, you'll have to runsh ./bootstrap.exclude.sh
before it can be used. You only have to run the linking part though, so choosey
for that one part andn
for the rest.
- Save env vars, etc in a .extra file, that looks something like this:
GIT_AUTHOR_NAME="Your Name" GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME" git config --global user.name "$GIT_AUTHOR_NAME"
GIT_AUTHOR_EMAIL="[email protected]" GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL" git config --global user.email "$GIT_AUTHOR_EMAIL"
export GMAIL=[email protected] export GMAIL_NAME="Your Name" export GMAIL_FROM=[email protected]