# homebrew 설치
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# git 설치
brew install git
# gnu-tar 설치
brew install gnu-tar
# font 설치
brew tap homebrew/cask-fonts
brew install font-d2coding-nerd-font
# 기타 유틸들
brew install ripgrep
# emacs 설치
brew tap d12frosted/emacs-plus
# for Just-In-Time Compilation
# ref: https://gcc.gnu.org/wiki/JIT
brew install libgccjit
export CC=gcc
brew install emacs-plus@29 --with-native-comp
# Emacs.app was installed to:
# /opt/homebrew/opt/emacs-plus@29
#
# To link the application to default Homebrew App location:
# ln -s /opt/homebrew/opt/emacs-plus@29/Emacs.app /Applications
#
# Your PATH value was injected into Emacs.app/Contents/Info.plist
#
# Report any issues to http://github.com/d12frosted/homebrew-emacs-plus
#
# To start d12frosted/emacs-plus/emacs-plus@29 now and restart at login:
# brew services start d12frosted/emacs-plus/emacs-plus@29
# Or, if you don't want/need a background service you can just run:
# /opt/homebrew/opt/emacs-plus@29/bin/emacs --fg-daemon
ln -s /opt/homebrew/opt/emacs-plus@29/Emacs.app /Applications