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