diff --git a/pash b/pash index 51e96ce..89fc8c4 100755 --- a/pash +++ b/pash @@ -19,7 +19,6 @@ pw_add() { [[ $password ]] || die "Failed to generate a password." - # Handle category in store name. [[ $1 == */* ]] && { mkdir -p "${1%/*}" || die "Couldn't create category '${1%/*}'." } @@ -53,11 +52,6 @@ pw_list() { } 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 - # data from '/dev/urandom' to meet the length requirement. - # example: 50 lines from /dev/urandom == 50 char password mapfile -tn "${length:=50}" rand