Add Araxis Merge plugin
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
This commit is contained in:
parent
e55c715508
commit
71f1e4bc0d
11
plugins/araxis-merge/README.md
Normal file
11
plugins/araxis-merge/README.md
Normal 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`
|
16
plugins/araxis-merge/araxis-merge.plugin.zsh
Normal file
16
plugins/araxis-merge/araxis-merge.plugin.zsh
Normal 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
|
Loading…
Reference in New Issue
Block a user