editor/emacs: refactor + don't install HEAD w/ homebrew
This commit is contained in:
parent
044f0ff26b
commit
2d584f0ac8
|
@ -3,7 +3,7 @@
|
|||
case "$OSTYPE" in
|
||||
darwin*)
|
||||
brew tap railwaycat/emacsmacport
|
||||
brew install emacs-mac --with-imagemagick --with-modern-icon --HEAD
|
||||
brew install emacs-mac --with-imagemagick --with-modern-icon
|
||||
;;
|
||||
linux*)
|
||||
if [[ -f /etc/arch-release ]]; then
|
||||
|
@ -16,6 +16,5 @@ esac
|
|||
|
||||
if [[ ! -d "$HOME/.emacs.d" ]]; then
|
||||
git clone --recursive "hlissner/.emacs.d" "$HOME/.emacs.d"
|
||||
cd "$HOME/.emacs.d"
|
||||
make install
|
||||
cd "$HOME/.emacs.d" && make install
|
||||
fi
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
[[ -d ~/.emacs.d ]] && { cd ~/.emacs.d && YES=1 make update; }
|
||||
[[ -f ~/.emacs.d/Makefile ]] && { cd ~/.emacs.d && YES=1 make update; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue