#!/bin/bash
# This allows me to use the emacsclient alternate editor to start the GUI and server
# if it's not already running, opening the file in the GUI
if [ ! -f "$1" ]; then
  touch "$1"
fi

open -a /Applications/Emacs.app "$1"

#!/bin/bash
# This allows me to use the emacsclient alternate editor to start the GUI and server
# if it's not already running, opening the file in the GUI
if [ ! -f "$1" ]; then
  touch "$1"
fi

open -a `brew --prefix emacs`/Emacs.app "$1"

Use homebrew emacs when launching gui.
Use homebrew emacs when launching gui.