diff options
Diffstat (limited to 'mkshrc')
| -rw-r--r-- | mkshrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -212,6 +212,9 @@ set_retro() { export TERM="$(echo $TERM | sed -e's/-256color$//')" } randmacgen() { + # This seems to be needed on FreeBSD, I'll have to look into + # exactly what is causing this and what the differences are + LC_COLLATE=c tr -c -d '0123456789abcdef' < /dev/urandom \ | head -c 12 \ | sed 's!^M$!!;s!\-!!g;s!\.!!g;s!\(..\)!\1:!g;s!:$!!' |
