From e45f12ddf66a6817828610bea10612239ea7455b Mon Sep 17 00:00:00 2001 From: Anish Lakhwara Date: Sun, 14 May 2023 14:42:29 +1000 Subject: [PATCH] add gen-secret alias --- home/profiles/cli/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home/profiles/cli/default.nix b/home/profiles/cli/default.nix index 72db82a3..1fcfcc8d 100644 --- a/home/profiles/cli/default.nix +++ b/home/profiles/cli/default.nix @@ -212,6 +212,7 @@ kr = "cd /home/anish/kitaab/vimwiki; exa --sort=modified --reverse | fzf --preview 'bat --style=numbers --color=always --terminal-width -1 ./{}'"; icat = "kitty +kitten icat"; yt = "ytfzf -T kitty -t "; + gen-secret = "< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c\${1:-32};echo;"; # modern cli tools ls = "exa --icons";