-
Notifications
You must be signed in to change notification settings - Fork 646
Expand ~ or $(HOME) for the path to diff-highlight #1107
Copy link
Copy link
Closed
Description
Continuing after #313, would it be possible to add support for shell-style expansion of ~ or $(HOME) variables in the
path to diff-highlight in tigrc?
For example when I set:
set diff-highlight = ~/.config/git/diff-highlight
tig cannot find the diff-highlight program. It needs the expanded absolute path to find it or find it in $PATH.
The reason I ask if this is possible is I don't want to change my $PATH from the default and do not want to have root access to put diff-highlight somewhere in system-wide $PATH.
I checked and git itself can expand the program paths set in [pager] section of git config. So this might not be a bad idea after all.
Cheers.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels