dotfiles/bootstrap/dotlink.sh
Marty Oehme a316eeead2
repo: Remove leftover stow setup
Removed stow-related files, switched dotlink
to use dotter instead of stow.
2023-10-03 16:00:36 +02:00

15 lines
549 B
Bash

#!/usr/bin/env sh
# relink all stowed files from anywhere
# grepping is to remove meaningless stderr lines until this bug is fixed:
# https://github.com/aspiers/stow/issues/65
#
# redirection is a neat way to filter stderr msgs by redirecting stderr
# to stdout in a subshell, grepping in it, and redirecting back to stderr:
# https://stackoverflow.com/a/15936384
#
# to customize this to your own needs, change the `push folder` to the
# location of your dotfiles (stow) repository
alias dotlink="pushd ~/.dotfiles;\
dotter deploy;\
popd"