docs: update

This commit is contained in:
Dylan Araps 2019-02-24 23:49:19 +02:00
parent fffe51f2a3
commit c94a4a2b13
1 changed files with 2 additions and 2 deletions

4
pash
View File

@ -10,7 +10,7 @@ pw_add() {
[[ $OSTYPE == linux* ]] &&
check_entropy
generate_password
pw_gen
;;
*) read -rsp "Enter password: " password ;;
@ -51,7 +51,7 @@ pw_list() {
printf '%s\n' "${pw_files[@]//.gpg}"
}
generate_password() {
pw_gen() {
# Grab '$length' number of lines from '/dev/urandom'.
# '$length' also controls the generated password length.
# This is a simple way to ensure that pash grabs enough