From 53e10a969148f3ee1a1d434b677e370359873365 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Wed, 8 Nov 2023 20:27:13 +0100 Subject: Track renaming of restic passwords --- tw/home/files/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tw/home/files/zshrc') diff --git a/tw/home/files/zshrc b/tw/home/files/zshrc index ced22a16..ed8575de 100644 --- a/tw/home/files/zshrc +++ b/tw/home/files/zshrc @@ -123,7 +123,7 @@ restic.vin () { esac shift echo "running: restic -r vin.wg/$user/$repo $*" >&2 - RESTIC_PASSWORD_COMMAND="pass computers/vin/restic-repos/$repo" \ + RESTIC_PASSWORD_COMMAND="pass computers/vin/restic-repos/$user-$repo" \ RESTIC_REPOSITORY="rest:http://$user:$(pass "computers/vin/restic-server/$user" | head -1)@vin.wg:8181/$user/$repo" \ command restic "$@" fi -- cgit v1.2.3