From ef157712a14cc8da0d2356a133ce1ba97d5d1941 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Fri, 25 Feb 2022 17:06:11 +0100 Subject: [PATCH] Make stow script dotfiles-path-independent --- stow.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stow.sh b/stow.sh index 6d4b887..e315f9f 100755 --- a/stow.sh +++ b/stow.sh @@ -19,11 +19,11 @@ function success { DEFAULT_STOW_PKGS="alacritty systemd picom bash fish zsh stumpwm qutebrowser redshift neovim dunst x" STOW_PKGS=${STOW_PKGS:=$DEFAULT_STOW_PKGS} -WORK_DOTFILES="${WORK_DOTFILES:=$HOME/.dotfiles/dot-work}" +WORK_DOTFILES="${WORK_DOTFILES:=$(pwd)/dot-work}" DEFAULT_WORK_STOW_PKGS="mbsync msmtp ssh passwords" WORK_STOW_PKGS="${WORK_STOW_PKGS:=$DEFAULT_WORK_STOW_PKGS}" -PRIVATE_DOTFILES="${PRIVATE_DOTFILES:=$HOME/.dotfiles/dot-private}" +PRIVATE_DOTFILES="${PRIVATE_DOTFILES:=$(pwd)/dot-private}" DEFAULT_PRIVATE_STOW_PKGS="mbsync msmtp ssh git" PRIVATE_STOW_PKGS="${PRIVATE_STOW_PKGS:=$DEFAULT_PRIVATE_STOW_PKGS}"