#!/bin/ksh function pcl { if [ -z "$2" ]; then pass show "$1"|head -1|xclip -l 1 -r else pass show "$1"|head -1|xclip -sel c -l 1 -r fi }