mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-20 03:13:33 +01:00
Add Araxis Merge plugin
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
This commit is contained in:
parent
e55c715508
commit
71f1e4bc0d
2 changed files with 27 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue