diff --git a/apps.d/dotdrop.zsh b/apps.d/dotdrop.zsh new file mode 100644 index 0000000..5fc9f4f --- /dev/null +++ b/apps.d/dotdrop.zsh @@ -0,0 +1,12 @@ +# 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"