13 lines
376 B
Bash
13 lines
376 B
Bash
# shellcheck shell=bash
|
|
# vim: ft=sh
|
|
|
|
! command -v dotdrop > /dev/null && return
|
|
|
|
export DOTDROP_REPO="${XDG_CONFIG_HOME}/dotdrop"
|
|
export DOTDROP_CONFIG="${DOTDROP_REPO}/config-user.yaml"
|
|
DOTDROP_PROFILE="$(hostname)"
|
|
export DOTDROP_PROFILE
|
|
|
|
alias dotgit="git -C ${DOTDROP_REPO}"
|
|
alias dotsync="dotgit pull && dotgit add -A && dotgit commit && dotgit push && dotdrop install"
|