mirror of
https://github.com/correl/dotfiles.git
synced 2024-11-15 03:00:11 +00:00
[provisioning] Use emacs-mac in OSX
This commit is contained in:
parent
1dd1aed1a3
commit
ceae0dbab7
2 changed files with 11 additions and 1 deletions
|
@ -20,6 +20,15 @@ function _brew_cask {
|
|||
fi
|
||||
}
|
||||
|
||||
function _brew_tap {
|
||||
local tap=$1
|
||||
if ! brew tap | grep "^$tap$" >/dev/null 2>&1; then
|
||||
_run "[brew tap] Tap repository $tap" brew tap $@
|
||||
else
|
||||
echo "[brew tap] $tap is already present, skipping."
|
||||
fi
|
||||
}
|
||||
|
||||
case "$(uname -s)" in
|
||||
Darwin)
|
||||
if ! which brew >/dev/null; then
|
||||
|
|
|
@ -6,7 +6,8 @@ _recipe brew
|
|||
|
||||
case $_PLATFORM in
|
||||
darwin)
|
||||
_brew emacs --with-cocoa --with-librsvg --with-imagemagick@6
|
||||
_brew_tap railwaycat/emacsmacport
|
||||
_brew emacs-mac --with-modern-icon
|
||||
;;
|
||||
linux)
|
||||
_recipe _apt
|
||||
|
|
Loading…
Reference in a new issue