view unixSoft/bin/afcopy @ 437:b460b464f9d2

textmate.el: set default-directory instead of adding a 'cd' command This fixes textmate.el with TRAMP.
author Augie Fackler <raf@durin42.com>
date Tue, 29 Nov 2016 14:21:31 -0500
parents b5178986dcbb
children 4c5814d3cfd8
line wrap: on
line source

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