diff options
| author | nsfisis <nsfisis@gmail.com> | 2023-09-28 18:50:54 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2023-09-28 18:50:54 +0900 |
| commit | 1f6547aeec3e02c3933772d5d41e6071f80586c2 (patch) | |
| tree | f7fd2635e07883e3c6229d73ca4104282fd7794e | |
| parent | d3a902481d6689a96a407f77c5fa09a984a1a1e9 (diff) | |
| download | dotfiles-1f6547aeec3e02c3933772d5d41e6071f80586c2.tar.gz dotfiles-1f6547aeec3e02c3933772d5d41e6071f80586c2.tar.zst dotfiles-1f6547aeec3e02c3933772d5d41e6071f80586c2.zip | |
zsh: add function `pwgen`
| -rw-r--r-- | .zshrc | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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' |
