Skip to content

Latest commit

 

History

61 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Alan's dotfiles

Setup

Install GNU Stow and clone the repository into ~/.dotfiles. Then, to deploy symlinks:

cd ~/.dotfiles
find * -maxdepth 0 -type d | xargs -d '\n' stow -v

I also keep some secret dotfiles in ~/Dropbox/dotfiles. To deploy those, I would run:

cd ~/Dropbox/dotfiles
stow -vt ~ *

Tearing down

To remove symlinks:

cd ~/.dotfiles
find * -maxdepth 0 -type d | xargs -d '\n' stow -Dv

Similarly for dotfiles in ~/Dropbox/dotfiles:

cd ~/Dropbox/dotfiles
stow -Dvt ~ *

Choice of symlink deployment utility

I used to use rcm, but I switched to GNU Stow in June 2019 when I started using Debian and found that apt.thoughtbot.com's SSL certificate had expired just a couple weeks earlier. I prefer rcm's default behavior of creating directories and symlinking to files (whereas Stow symlinks to a directory when it can), but trying to problem-solve installing on Debian was just too much trouble.

I've saved rcm-specific information below.

Configuration

~/.rcrc:

DOTFILES_DIRS="$HOME/.dotfiles $HOME/Dropbox/dotfiles"
EXCLUDES="LICENSE README.md"

Helper functions

rcupdate() {
    git -C ~/.dotfiles pull &>/dev/null
}

About

Alan's dotfiles

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages