So somehow git resolves "bc3" to the application "bcomp", and this works from a terminal window. But it doesn't work from a shell script.
I've managed to cobble together a workaround involving a macro that opens a Terminal window and types in the necessary commands, but it's pretty kludgy.
#!/usr/bin/env bash -l
cd <hard-coded-path>;
git difftool -y <hard-coded-path>;
I haven’t gotten around to using git yet, so I don’t know how it manages its config files.
Have a look at this:
You may or may not have a ~/.bashrc file.
Type set in the Terminal and see what you find.
Look at all the invisible files in your home directory:
cd ~/;
ls -ld .*
Look for git specifically:
cd ~/;
ls -a | egrep -i "git"
When I do this sort of thing I normally fire up ForkLift or Path Finder and turn on show-invisibles, but the Terminal runs 24/7 on my system and is sometimes more convenient.
You can use the Finder to view invisibles, although I find this method inconvenient and don’t use it (since I have better tools for the job).
In the Terminal:
defaults write com.apple.finder AppleShowAllFiles -bool true; killAll Finder
defaults write com.apple.finder AppleShowAllFiles -bool false; killAll Finder
your tip is really, exceptionally, really (yes, 2 times) great. Formerly I used Forklift or Terminal when I wanted to see the contents of my HOME folder or similar…
That Cmd-Shift-Period existed since 2003 or whatnot? In Save dialogs, of course. Only in dialogs. Of course. And , in case I forgot mention it , only in Save dialogs.
Wow, now, finally after 15 years OS X we can do this also in the damn Finder window.
You know what?: I think this was a left-over from a debugging-Finder. But they will leave it in