Add utility text function KShell::tildeCollapse

Authored by meven on Jan 13 2020, 10:34 AM.

Description

Add utility text function KShell::tildeCollapse

Summary: KShell::tildeCollapse return a string with homedir (usually /home/$USER) replaced by ~.

Test Plan: ctest

Reviewers: Frameworks, broulik, ngraham, ervin, apol

Reviewed By: ngraham, ervin, apol

Subscribers: apol, kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D26122

Details

Committed
mevenJan 14 2020, 2:42 PM
Reviewer
ngraham
Differential Revision
D26122: Add utility text function KShell::tildeCollapse
Parents
R244:9329bdc25bd4: GIT_SILENT Upgrade KF5 version to 5.67.0.
Branches
Unknown
Tags
Unknown