Created
March 17, 2021 18:36
-
-
Save eddieh/3e383f9fe4c50396fe5fded591650df4 to your computer and use it in GitHub Desktop.
make an alias in /Applications to emacs-mac from Homebrew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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