I added an #OhMyZSH plugin specifically for my various #HardenedBSD deployments. This new plugin adds a method by which a user can easily determine jailed status with is_jailed
:
https://git.hardenedbsd.org/shawn.webb/oh-my-zsh/-/commit/4ffcb103872fdfd2027b09e26b105173186a960e