teobais / dotfiles

:hocho: My baby steps in .files and Unix systems, using a Mac.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles

🔪 .files

My baby steps in dot files and Unix systems, using a Mac.

Installation

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

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

Specify the $PATH

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"

Local changes

  • For any new update on the .bash_profile, ensure that you run bash -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]

Thanks to…

About

:hocho: My baby steps in .files and Unix systems, using a Mac.


Languages

Language:Shell 100.0%