diff options
author | Tom Willemse | 2020-04-15 00:48:00 -0700 |
---|---|---|
committer | Tom Willemse | 2020-04-15 00:48:00 -0700 |
commit | cbf581acfa2d36374f6f0f53b26c5a0b4c96dfbc (patch) | |
tree | 88a1ae86dc7b36261e445267a34cde5521aa8a01 | |
parent | c07ca71f0aca9c51a913b36e40542e32a7ec5dcc (diff) | |
download | new-dotfiles-cbf581acfa2d36374f6f0f53b26c5a0b4c96dfbc.tar.gz new-dotfiles-cbf581acfa2d36374f6f0f53b26c5a0b4c96dfbc.zip |
Use .stowrc instead of a bash wrapper around stow
The comment in ‘stow-home’ claims that ‘.stowrc’ doesn’t support variable
expansion. I don’t know if I couldn’t figure it out before or if stow has been
updated since then, but it seems to work fine now.
-rw-r--r-- | .stowrc | 4 | ||||
-rw-r--r-- | GNUmakefile | 2 | ||||
-rwxr-xr-x | stow/usr/bin/stow-home | 6 |
3 files changed, 5 insertions, 7 deletions
@@ -0,0 +1,4 @@ +--target $HOME +--ignore GNUmakefile +--ignore org +--ignore .dir-locals.el diff --git a/GNUmakefile b/GNUmakefile index d7c6028..b6bec53 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,7 +1,7 @@ include dotfiles.mk MODULES=xmodmap emacs compton cower mowedline -STOW=stow/usr/bin/stow-home +STOW=stow .PHONY: all clean $(MODULES) zsh diff --git a/stow/usr/bin/stow-home b/stow/usr/bin/stow-home deleted file mode 100755 index 85d6c24..0000000 --- a/stow/usr/bin/stow-home +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env bash - -# Make stow always stow to my HOME directory. It's weird that this -# can't be done in a .stowrc, it doesn't support variable expansion. -/usr/bin/stow --target "$HOME" --ignore "GNUmakefile" --ignore "org" \ - --ignore ".dir-locals.el" "$@" |