diff --git a/zsh/functions.zsh b/zsh/functions.zsh index c774045..ec62188 100644 --- a/zsh/functions.zsh +++ b/zsh/functions.zsh @@ -317,3 +317,7 @@ function gc { function gcm { (gc --message $*) || return } + +function random_hex { + openssl rand -hex $(expr $1 / 2) +}