diff --git a/.functions.sh b/.functions.sh index 2804283..62dd6d3 100644 --- a/.functions.sh +++ b/.functions.sh @@ -1,5 +1,13 @@ #!/bin/bash +function pc(){ + # use pass and copy to clipboard + pass -c1 "@" +} +complete -o filenames -F _pass pc + + + function watermark(){ # Add watermark text to image (ImageMagick depentant) # $1 = source file