Sometimes all you have to do to find the answer is ask the question. The solution is: git config --global interactive.diffFilter "$diffr"