Thanks Phillip, you pegged it. I found the below online as an “uninstall” for the TextWrangler command line utils. After running, the edit command doesn’t work. I added the following as an alias in ~/.bash_profile, and that appears to do the trick.
Alias to fix (?) edit command:
alias edit=‘subl -w’
TextWrangler command line “uninstall” (produced some errors, but seemed to do the trick):
sudo pkgutil --unlink com.barebones.textwrangler.tools.textwranglerCommandlineTools.edit.pkg;
sudo pkgutil --forget com.barebones.textwrangler.tools.textwranglerCommandlineTools.edit.pkg;
sudo rm /usr/local/bin/edit;
sudo pkgutil --unlink com.barebones.textwrangler.tools.textwranglerCommandlineTools.edit-1.pkg;
sudo pkgutil --forget com.barebones.textwrangler.tools.textwranglerCommandlineTools.edit-1.pkg;
sudo rm /usr/local/share/man/man1/edit.1;
sudo pkgutil --unlink com.barebones.textwrangler.tools.textwranglerCommandlineTools.twdiff.pkg;
sudo pkgutil --forget com.barebones.textwrangler.tools.textwranglerCommandlineTools.twdiff.pkg;
sudo rm /usr/local/bin/twdiff;
sudo pkgutil --unlink com.barebones.textwrangler.tools.textwranglerCommandlineTools.twdiff-1.pkg;
sudo pkgutil --forget com.barebones.textwrangler.tools.textwranglerCommandlineTools.twdiff-1.pkg;
sudo rm /usr/local/share/man/man1/twdiff.1;
sudo pkgutil --unlink com.barebones.textwrangler.tools.textwranglerCommandlineTools.twfind.pkg;
sudo pkgutil --forget com.barebones.textwrangler.tools.textwranglerCommandlineTools.twfind.pkg;
sudo rm /usr/local/bin/twfind;
sudo pkgutil --unlink com.barebones.textwrangler.tools.textwranglerCommandlineTools.twfind-1.pkg;
sudo pkgutil --forget com.barebones.textwrangler.tools.textwranglerCommandlineTools.twfind-1.pkg;
sudo rm /usr/local/share/man/man1/twfind.1;