Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Use relative filepath in watchpid if possible #66

Closed
wants to merge 1 commit into from

Conversation

ikasty
Copy link
Contributor

@ikasty ikasty commented Jun 9, 2023

Hi, I propose the following feature.

Currently, when using pv with watchpid (-d option), it always displays the absolute file path. Fix this to only show a relative path if the file is in a subpath of the current working directory (CWD).

I couldn't name an option to turn this feature on and off, so I implemented it to be on by default. If needed, I'd be happy to hear suggestions for an option character to set whether this feature is enabled or disabled.

@a-j-wood
Copy link
Owner

Thanks for this! I've pulled it in, and it will be in the next release.

@a-j-wood a-j-wood closed this Jul 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants