||1 week ago|
|amfora/.config/amfora||2 months ago|
|bash||1 month ago|
|git||1 month ago|
|gnome-keyring||2 months ago|
|homebrew/.bashrc.d||2 months ago|
|i3wm||1 week ago|
|node||1 month ago|
|redshift/.config/redshift||3 months ago|
|vim||1 month ago|
|vue||1 month ago|
|xinit||1 month ago|
|zsh||1 month ago|
|.editorconfig||3 months ago|
|.gitignore||7 months ago|
|README.md||9 months ago|
|install.sh||1 month ago|
|preview-installation.sh||1 month ago|
|reinstall.sh||1 month ago|
|uninstall.sh||1 month ago|
This is my personal collection of dotfiles.
The repository is structured as follows:
<package a>/<files and folders that belong into the home directory> <package b>/<files and folders that belong into the home directory> ...
... where the package name could be any arbitrary string describing what the contents of the directory are about (i.e. bash, vim or perl).
You either need to manually copy or link the files (and redo this, each time that you updated something) or use a tool for that. Here is how to do that with Stow.
- an Installation of (GNU Stow)[https://www.gnu.org/software/stow/] (get it via your favorite package manager).
Clone this repository into your favorite directory (I should stay there, for as long as you want to have access to the dotfile).
In the console
# change into the dotfiles directory cd ~/some-dotfiles # list the packages and think about which ones to use ls # for the example, we want to install these packages: vue, vim and bash # lets preview, if the packages can be installed without a problem stow --verbose --target=$HOME --no --stow vue vim bash # install some packages (here: the ones for vue, vim and bash) stow --verbose --target=$HOME --stow vue vim bash # the files will now be linked to, if there has been no error message. # so the dotfiles should be in place.
To uninstall (a.k.a remove) a package, just do a quick
stow --verbose --target=$HOME --delete packagename
Each time a filepath in a dotfile package changes you need to reinstall this package.
# This can be done by stow --verbose --target=$HOME --restow packagename