From 832c0a3be24633a8c7c305f6a8bb922a8d6edf84 Mon Sep 17 00:00:00 2001 From: EmilySeville7cfg Date: Thu, 25 Nov 2021 23:34:37 +1000 Subject: [PATCH] Helper function __fish_generate_password add --- share/functions/__fish_generate_password.fish | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 share/functions/__fish_generate_password.fish diff --git a/share/functions/__fish_generate_password.fish b/share/functions/__fish_generate_password.fish new file mode 100644 index 000000000..14e3f1847 --- /dev/null +++ b/share/functions/__fish_generate_password.fish @@ -0,0 +1,3 @@ +function __fish_generate_password --description 'Generate password' + date +%s | sha256sum | base64 | head -c 32; echo +end \ No newline at end of file