# # Utilities # # Returns whether command exists or not function __zspr_has_command { command -v "${1}" >/dev/null return $? } # Creates directory relative to home directory function __zspr_mkdir { local HOMEDIR="${HOME}" mkdir -p "${HOMEDIR}/${1}" }