update newpass

This commit is contained in:
Christoph J. Scherr 2024-02-08 23:43:01 +01:00
parent a8509c0fc5
commit 305caf398a
Signed by: PlexSheep
GPG Key ID: 7CDD0B14851A08EF
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 5277a4b5ac0e494408a46f4ed7a96bf7a64e8ac3 Subproject commit 7de28493eb8103c71336144c4a9350002bfdbbb9

2
.zshrc
View File

@ -47,7 +47,7 @@ function cachekeys () { exec 2>/dev/null;
ssh-add ~/.ssh/id_rsa ssh-add ~/.ssh/id_rsa
} }
function newpass() { function newpass() {
LC_ALL=C tr -dc '[:alnum:]' < /dev/urandom | head -c${1:-$0} LC_ALL=C tr -dc '[:alnum:]' < /dev/urandom | head -c${1:-40}
} }
function condac() { function condac() {
conda activate $@ conda activate $@