Skip to content

Instantly share code, notes, and snippets.

@eddieh
Created March 17, 2021 18:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eddieh/3e383f9fe4c50396fe5fded591650df4 to your computer and use it in GitHub Desktop.
Save eddieh/3e383f9fe4c50396fe5fded591650df4 to your computer and use it in GitHub Desktop.
make an alias in /Applications to emacs-mac from Homebrew
#!/bin/sh
#SRC=${1}
#DST=${2}
SRC="/usr/local/opt/emacs-mac/Emacs.app"
DST="/Applications"
osascript <<EOF
tell app "Finder"
make new alias at POSIX file "$DST" to POSIX file "$SRC"
end
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment