diff options
Diffstat (limited to 'tw/home/files')
-rw-r--r-- | tw/home/files/zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
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 |