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