mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 05:43:11 +00:00
Helper function __fish_generate_password add
This commit is contained in:
parent
76e200e3f5
commit
832c0a3be2
1 changed files with 3 additions and 0 deletions
3
share/functions/__fish_generate_password.fish
Normal file
3
share/functions/__fish_generate_password.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function __fish_generate_password --description 'Generate password'
|
||||
date +%s | sha256sum | base64 | head -c 32; echo
|
||||
end
|
Loading…
Reference in a new issue