Git Tips: Make Sublime as editor for git operations in macOS

I would like to use Sublime editor for git (esp. rebase) editing operations rather than default vi editor in macOS. The following steps will help you to configure Sublime as your git editor. Make Sublime accessible from anywhere in terminal In Sublime 3, subl command to invoke Sublime from terminal is located at /Applications/Sublime Text.app/Contents/SharedSupport/bin/sublContinue reading “Git Tips: Make Sublime as editor for git operations in macOS”

Java Hacks: Make a Java version installed in macOS NOT accessible system wide

To make a Java version not accessible system wide in macOS i.e. to make it only invocable from the terminal: Go to /Library/Java/JavaVirtualMachines and then inside specific JDK directory Inside /Contents rename Info.plist to Info.plist.disabled Restart the system Ref: https://stackoverflow.com/questions/21964709/how-to-set-or-change-the-default-java-jdk-version-on-os-x This is useful if you want to run an application in macOS that needs for e.g.Continue reading “Java Hacks: Make a Java version installed in macOS NOT accessible system wide”