Add Araxis Merge plugin

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
This commit is contained in:
Gregor Jasny 2015-03-11 11:06:25 +01:00
parent e55c715508
commit 71f1e4bc0d
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,11 @@
## araxis-merge
Plugin for Araxis Merge, an advanced 2 and 3-way file comparison (diff), merging and folder synchronization tool.
### Requirements
* [Araxis Merge](http://www.araxis.com/merge/)
### Usage
* When this plugin is enabled the Araxis Merge utilities are added to `PATH`

View File

@ -0,0 +1,16 @@
# Araxis Merge Utilities
if [[ "$OSTYPE" = darwin* ]]; then
local _araxis_merge_darwin_paths > /dev/null 2>&1
_araxis_merge_darwin_paths=(
"$HOME/Applications/Araxis Merge.app/Contents/Utilities"
"/Applications/Araxis Merge.app/Contents/Utilities"
)
for _araxis_merge_path in $_araxis_merge_darwin_paths; do
if [[ -d "$_araxis_merge_path" ]]; then
export PATH="${_araxis_merge_path}":$PATH
break
fi
done
fi