Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/szhu/opendiff-wrapper
a quick fix for opendiff
https://github.com/szhu/opendiff-wrapper
Last synced: about 1 month ago
JSON representation
a quick fix for opendiff
- Host: GitHub
- URL: https://github.com/szhu/opendiff-wrapper
- Owner: szhu
- Created: 2013-11-22T11:10:30.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-22T11:38:25.000Z (about 11 years ago)
- Last Synced: 2024-04-11T15:52:54.269Z (9 months ago)
- Language: Shell
- Size: 102 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
opendiff-wrapper
================There are a few problems with `opendiff`, Apple's command-line interface to the GUI diff tool FileMerge:
- It won't launch FileMerge if Xcode is on a non-startup volume ("launch path not accessible").
- It takes too long to recognize when the user has closed a diff window.
- It prepends error lines with an ugly log-like header: `2013-11-22 02:54:44.734 opendiff[90964:1007]` or something of the like.This wrapper script solves all these problems with minimal overhead. Put this in your `PATH` but obviously not in `/usr/bin/opendiff`.
Use `opendiff --nowait [args-to-opendiff]` to remove the delay between closing a FileMerge window and the next command prompt by running the underlying `opendiff` asynchronously as a background job.