From ee5d19cee13594399a7d6ce0657bdec4b6e88a45 Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Tue, 8 Dec 2020 12:25:42 +0100 Subject: [PATCH] added pc (pass -c1) --- .functions.sh | 8 ++++++++ 1 file changed, 8 insertions(+) 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