userhome
A cross-platform path to the user's home
xdg-app-paths
Determine (XDG-compatible) paths for storing application files (cache, config, data, etc)
external-editor
Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT
env-paths
Get paths for storing things like data, config, cache, etc