🔪 .files
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!
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
To update, cd
into your local dotfiles
repository and then:
source bootstrap.sh
Alternatively, to update while avoiding the confirmation prompt:
set -- -f; source bootstrap.sh
If ~/.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 $PATH
:
export PATH="/usr/local/bin:$PATH"
- For any new update on the
.bash_profile
, ensure that you runbash -l
afterwards, 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]
- Mathias Bynens and his dotfiles repository