From 7d21f5f67a8163af48f3781ccd78f78813615f2d Mon Sep 17 00:00:00 2001 From: Ryan Greenup Date: Thu, 16 Jul 2020 10:53:56 +1000 Subject: [PATCH] Links go to clipboard --- bin/cadmus | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cadmus b/bin/cadmus index ebda9c9..7da3c09 100755 --- a/bin/cadmus +++ b/bin/cadmus @@ -198,7 +198,7 @@ CadmusTools () { ;; backlinks) shift; "${script_dir}/tools/List-Backlinks.sh" "${NOTES_DIR}" ${@:-} && exit 0 ;; - link) shift; "${script_dir}/tools/LinkMarkdownNotes.sh" "${NOTES_DIR}" && exit 0 + link) shift; "${script_dir}/tools/LinkMarkdownNotes.sh" | xclip -selection clipboard "${NOTES_DIR}" && exit 0 ;; fix) shift; "${script_dir}/tools/fixLink.sh" "${NOTES_DIR}" && exit 0 ;;