diff options
author | Galen Guyer <galen@galenguyer.com> | 2022-08-22 11:48:59 -0400 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2022-08-22 11:48:59 -0400 |
commit | c3a1ab69a1e09853ecfde077e60db7ad2fe86659 (patch) | |
tree | b7fc210731f2ec8e31bd445e2ca406b7bdd81bfb | |
parent | aee6558c2451091b00986749369c2a54be4cebde (diff) |
add bottom function
-rw-r--r-- | modules/20-zsh/zshrc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/20-zsh/zshrc b/modules/20-zsh/zshrc index 09a5877..9c2543e 100644 --- a/modules/20-zsh/zshrc +++ b/modules/20-zsh/zshrc @@ -140,3 +140,7 @@ fi if [[ -d "$HOME/.deta" ]]; then export PATH="$HOME/.deta/bin:$PATH" fi + +func bottom() { + cat /dev/urandom | env LC_CTYPE=C tr -dc "asdfghjkl;" | fold -w 20 | head -n 1 +} |