set copy command so defaulting works properly
This commit is contained in:
parent
29decbf0c2
commit
5fc2f0a242
@ -122,6 +122,7 @@ if [ "$typeisset" -eq 1 ] && [ "$copyisset" -eq 1 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
elif [ "$typeisset" -eq 0 ] && [ "$copyisset" -eq 0 ]; then
|
elif [ "$typeisset" -eq 0 ] && [ "$copyisset" -eq 0 ]; then
|
||||||
printf "neither -c/--copy or -t/--type passed. Defaulting to copying with wl-copy."
|
printf "neither -c/--copy or -t/--type passed. Defaulting to copying with wl-copy."
|
||||||
|
copy_cmd="$COPY_CMD"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd "${PASSWORD_STORE_DIR:-$HOME/.password-store}"
|
cd "${PASSWORD_STORE_DIR:-$HOME/.password-store}"
|
||||||
|
Reference in New Issue
Block a user