add password management

This commit is contained in:
kento2 2026-02-05 06:54:50 +01:00
parent 136aa8bbc7
commit dcfa7425dc
4 changed files with 16 additions and 0 deletions

8
files/.local/bin/pass-sync Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh
set -e
{
ping -c1 -W3 1.1.1.1 >/dev/null || exit # no network conncetion
pass git pull
pass git push -u --all
date
} > "$HOME/.last-sync" 2>&1