Reset PASSWORD_STORE_CLIP_TIME to default after pw is invoqued

This commit is contained in:
flyingscorpio@arch-desktop 2020-11-17 12:26:46 +01:00
parent 1a919fb0ce
commit 28b1fa4efd

View file

@ -49,6 +49,7 @@ alias cd..='cd ..'
pw() {
export PASSWORD_STORE_CLIP_TIME=8
pass -c2 "$1"; sleep 5; pass -c3 "$1"; sleep 5; pass -c "$1"
unset PASSWORD_STORE_CLIP_TIME
}
clitip() {