From c3a1ab69a1e09853ecfde077e60db7ad2fe86659 Mon Sep 17 00:00:00 2001 From: Galen Guyer Date: Mon, 22 Aug 2022 11:48:59 -0400 Subject: add bottom function --- modules/20-zsh/zshrc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/20-zsh/zshrc') 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 +} -- cgit v1.2.3