view unixSoft/bin/afpaste @ 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
line wrap: on
line source

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