My baby steps in dot files and Unix systems, using a Mac.
Warning: If you want to give these dotfiles a try, you should first fork this repository, review the code, and remove things you don’t want or need. Don’t blindly use my settings unless you know what that entails. Use at your own risk!
Using Git and the bootstrap script
You can clone the repository wherever you want. The bootstrapper script will pull in the latest version and copy the files to your home folder.
git clone https://github.com/thodorisbais/dotfiles.git && cd dotfiles && source bootstrap.sh
cd into your local
dotfiles repository and then:
Alternatively, to update while avoiding the confirmation prompt:
set -- -f; source bootstrap.sh
~/.path exists, it will be sourced along with the other files, before any feature testing takes place.
Here’s an example
~/.path file that adds
/usr/local/bin to the
- For any new update on the
.bash_profile, ensure that you run
bash -lafterwards, so that the changes take effect.
- Scripts under /usr/local/bin have to have the proper permissions, so that they can be run outside of the latter directory (=globally). Ensure that by
chmod 755 [name-of-the-newly-added-script]