pathshorten(path)#

Returns the file path shortened like Vim's one.

Type#

Arguments Return values
string string

Usage#

"${pathshorten("manifests/microservices/x-gateway-jp/development/Service/a.yaml")}"
# => "m/m/x/d/S/a.yaml"