#!/usr/bin/env sh
# YES_ZSH
randir() {
find -maxdepth 1 -type d \( -path '/root' -prune -o -print \) | tail -n+2 | shuf | head -1
}
[ "${SOURCING:-0}" -gt 0 ] || randir "$@"