update newpass
This commit is contained in:
parent
a8509c0fc5
commit
305caf398a
|
@ -1 +1 @@
|
||||||
Subproject commit 5277a4b5ac0e494408a46f4ed7a96bf7a64e8ac3
|
Subproject commit 7de28493eb8103c71336144c4a9350002bfdbbb9
|
2
.zshrc
2
.zshrc
|
@ -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 $@
|
||||||
|
|
Loading…
Reference in New Issue