2020-02-06 12:12:08 +00:00
|
|
|
#!/usr/bin/env sh
|
2020-02-06 11:08:33 +00:00
|
|
|
# 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
|
2023-10-03 14:00:36 +00:00
|
|
|
|
2020-02-06 11:08:33 +00:00
|
|
|
alias dotlink="pushd ~/.dotfiles;\
|
2023-10-03 14:00:36 +00:00
|
|
|
dotter deploy;\
|
|
|
|
popd"
|