chore(dotfiles): allow setting the dotfiles path

Allow overriding the dotfiles directory using the `DOTFILES_DIR` variable.
This commit is contained in:
Oliver Davies 2022-05-31 23:26:30 +01:00 committed by GitHub
parent 1c5ce40d07
commit a1554f5607
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@
set -e
CONFIG_DIR="$HOME/.config/dotfiles"
DOTFILES_DIR="$HOME/.dotfiles"
DOTFILES_DIR="${DOTFILES_DIR:-$HOME/.dotfiles}"
PATH="${PATH}:${HOME}/.local/bin"
clone_or_update_dotfiles() {