From b4c6a575ab38d15dec21dc3954e691261d736655 Mon Sep 17 00:00:00 2001 From: xyz Date: Sat, 23 Oct 2021 18:33:48 -0700 Subject: refactor --- home/xyz/.config/myconf/gallery_urls | 1 + home/xyz/.local/bin/cfg | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'home/xyz') diff --git a/home/xyz/.config/myconf/gallery_urls b/home/xyz/.config/myconf/gallery_urls index c0ffd026..ce4189fe 100644 --- a/home/xyz/.config/myconf/gallery_urls +++ b/home/xyz/.config/myconf/gallery_urls @@ -3,3 +3,4 @@ https://www.pixiv.net/users/13379747/artworks https://www.deviantart.com/wlop/gallery https://www.deviantart.com/minimalistic-animoo/gallery/ https://www.deviantart.com/theminimalists/gallery/ +# redo some test diff --git a/home/xyz/.local/bin/cfg b/home/xyz/.local/bin/cfg index 56ba6d71..c955175d 100755 --- a/home/xyz/.local/bin/cfg +++ b/home/xyz/.local/bin/cfg @@ -6,7 +6,7 @@ while getopts clsmM opt; do cmd="git --git-dir=$HOME/.cfg$opt/ --work-tree=$HOME" meta_file="$XDG_CONFIG_HOME/myconf/cfg${opt}_meta";; l|s) work_tree_dir=/ - cmd="sudo git --git-dir=/etc/.cfg$opt/ --work-tree=/" + cmd="sudo GPG_TTY=$(tty) git --git-dir=/etc/.cfg$opt/ --work-tree=/" meta_file="/etc/myconf/cfg${opt}_meta";; m) sudo gitmetap "$cmd" "$work_tree_dir" "$meta_file" exit;; -- cgit v1.2.3-70-g09d2