summaryrefslogtreecommitdiff
path: root/modules/20-zsh
diff options
context:
space:
mode:
authorGalen Guyer <galen@galenguyer.com>2022-08-22 11:48:59 -0400
committerGalen Guyer <galen@galenguyer.com>2022-08-22 11:48:59 -0400
commitc3a1ab69a1e09853ecfde077e60db7ad2fe86659 (patch)
treeb7fc210731f2ec8e31bd445e2ca406b7bdd81bfb /modules/20-zsh
parentaee6558c2451091b00986749369c2a54be4cebde (diff)
add bottom function
Diffstat (limited to 'modules/20-zsh')
-rw-r--r--modules/20-zsh/zshrc4
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
+}