view unixSoft/bin/afpaste @ 509:cea9a184de6c

zsh: add workaround for mcfly breaking autocd
author Augie Fackler <raf@durin42.com>
date Thu, 18 Feb 2021 11:12:42 -0500
parents b5178986dcbb
children
line wrap: on
line source

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