Function
Idepath_collapse
since: 45
Description
This function will collapse a path that starts with the users home directory into a shorthand notation using ~/ for the home directory.
If the path does not have the home directory as a prefix, it will
simply return a copy of path
.
Available since: 45