From 5fc2f0a242eda08a888af1b5862b77b5e947865d Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Fri, 28 Oct 2022 11:40:21 -0400 Subject: [PATCH] set copy command so defaulting works properly --- wofi-pass | 1 + 1 file changed, 1 insertion(+) diff --git a/wofi-pass b/wofi-pass index cdb9b10..f3a2d0b 100755 --- a/wofi-pass +++ b/wofi-pass @@ -122,6 +122,7 @@ if [ "$typeisset" -eq 1 ] && [ "$copyisset" -eq 1 ]; then exit 1 elif [ "$typeisset" -eq 0 ] && [ "$copyisset" -eq 0 ]; then printf "neither -c/--copy or -t/--type passed. Defaulting to copying with wl-copy." + copy_cmd="$COPY_CMD" fi cd "${PASSWORD_STORE_DIR:-$HOME/.password-store}"