aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-09-28 18:50:54 +0900
committernsfisis <nsfisis@gmail.com>2023-09-28 18:50:54 +0900
commit1f6547aeec3e02c3933772d5d41e6071f80586c2 (patch)
treef7fd2635e07883e3c6229d73ca4104282fd7794e
parentd3a902481d6689a96a407f77c5fa09a984a1a1e9 (diff)
downloaddotfiles-1f6547aeec3e02c3933772d5d41e6071f80586c2.tar.gz
dotfiles-1f6547aeec3e02c3933772d5d41e6071f80586c2.tar.zst
dotfiles-1f6547aeec3e02c3933772d5d41e6071f80586c2.zip
zsh: add function `pwgen`
-rw-r--r--.zshrc13
1 files changed, 13 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index ecfc1c4..3c886f5 100644
--- a/.zshrc
+++ b/.zshrc
@@ -381,6 +381,19 @@ function mkcd() {
}
+
+function pwgen() {
+ command pwgen -N 1 128
+ command pwgen -N 1 96
+ command pwgen -N 1 64
+ command pwgen -N 1 48
+ command pwgen -N 1 32
+ command pwgen -N 1 24
+ command pwgen -N 1 16
+}
+
+
+
alias cp='cp -i'
alias mkdir='mkdir -p'
alias mv='mv -i'