Skip to content

Replace the home directory with a tilde in the displayed filename

Closes #37 (closed).

I started from Michaël Meyer's patch, but in the end I kept nothing but the original idea, so I made a new commit (in which I credit Michaël with the idea).

I simplified the way to replace $HOME with a tilde, and I kept only the resulting filename as document filename, since it is only for display purpose (the real filename is a MousepadFile attribute).

Merge request reports