From 211f9daecbc11e8690497e1229b5b0bfc9345523 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Sat, 11 Apr 2026 12:57:24 +0300 Subject: [PATCH] dotdrop --- apps.d/dotdrop.zsh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 apps.d/dotdrop.zsh 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"