Added Atom plugin for Mac OS X

This commit is contained in:
R Vadai 2016-08-15 16:42:53 +01:00
commit daa2d95260

View file

@ -0,0 +1,13 @@
if [[ "$OSTYPE" = darwin* ]]; then
local _atom_darwin_paths > /dev/null 2>&1
_atom_darwin_paths=(
"/Applications/Atom.app"
"$HOME/Applications/Atom.app"
)
for _atom_path in $_atom_darwin_paths; do
if [[ -a $_atom_path ]]; then
alias atom="open -a '$_atom_path'"
break
fi
done
fi