full cached pass
This commit is contained in:
parent
34346743e3
commit
a4215e7810
|
@ -21,9 +21,8 @@ file="${BASEDIR}/${name_base64}"
|
|||
|
||||
if [ ! -f "${file}" ]
|
||||
then
|
||||
pass="$(pass ${name} | head -1)"
|
||||
echo -n $pass > "${file}"
|
||||
notify-send -u low "cached_pass" "Cached: ${name}"
|
||||
notify-send -u low "cached_pass" "Asking to cache: ${name}"
|
||||
pass ${name} > "${file}"
|
||||
fi
|
||||
|
||||
cat "${file}"
|
||||
|
|
Loading…
Reference in a new issue