view unixSoft/bin/afcopy @ 453:6f3342c9e53d

emacs: use exec-path-from-shell-initialize on OS X This should mean I can start emacs like a normal application and have things work.
author Augie Fackler <raf@durin42.com>
date Sat, 06 Jan 2018 17:03:00 -0500
parents b5178986dcbb
children 4c5814d3cfd8
line wrap: on
line source

#!/bin/sh
if [ `uname` = Darwin ] ; then
  pbcopy
else
  xclip -selection clipboard
fi