docs: update
This commit is contained in:
parent
5ba0e7c22e
commit
bbc0732df7
4
pash
4
pash
|
@ -56,6 +56,10 @@ pw_add() {
|
||||||
pw_del() {
|
pw_del() {
|
||||||
yn "Delete pass file '$1'?" && {
|
yn "Delete pass file '$1'?" && {
|
||||||
rm -f "$1.gpg"
|
rm -f "$1.gpg"
|
||||||
|
|
||||||
|
# Remove empty parent directories of a password
|
||||||
|
# entry. It's fine if this fails as it means that
|
||||||
|
# another entry also lives in the same directory.
|
||||||
rmdir -p "${1%/*}" 2>/dev/null
|
rmdir -p "${1%/*}" 2>/dev/null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue