The repository can be cloned wherever you want. The bootstrap script will [git] pull in the latest version and overwrite the files to your home folder.
git clone --recursive https://github.com/pjan/ubuntu-dotfiles.git && cd ubuntu-dotfiles && source bootstrap.sh
To update, cd
into the local ubuntu-dotfiles
repository and execute:
source bootstrap.sh
The confirmation prompt can be avoided by executing:
set -- -f; source bootstrap.sh
~/.path
gets sourced along the others (before). It can be used to set the path, without risking it to be overwritten when running the update.
~/.extra
gets sourced along the others (after). It can be used to add custom commands, without risking them to be lost when running the update.
Add the same time, it can be used to override aliases, functions, settings, ... from this repository.
Is welcome!