about summary refs log tree commit diff stats
path: root/ayu
diff options
context:
space:
mode:
authorAoi Koizumi <novaburst@kalli.st>2022-03-14 16:33:32 -0300
committerAoi Koizumi <novaburst@kalli.st>2022-03-14 16:33:32 -0300
commit9e095399195f5296af89322d8eb9529b9f1fc558 (patch)
tree665b76b8180be0fd5aa9f758276ef443c9c4cb4b /ayu
parent720529b3f573cfe6afcfa3fe65a4a5630148c1cd (diff)
downloadayu-9e095399195f5296af89322d8eb9529b9f1fc558.tar.gz
* Update README: per https://twt.nfld.uk/twt/xfqvrtq
* Update ayu: $clipboard -> $ayu_clipboard
* Update manual page

Signed-off-by: Aoi Koizumi <novaburst@kalli.st>
Diffstat (limited to 'ayu')
-rwxr-xr-xayu4
1 files changed, 2 insertions, 2 deletions
diff --git a/ayu b/ayu
index b728fdd..d12afb9 100755
--- a/ayu
+++ b/ayu
@@ -9,7 +9,7 @@ ayu_dir="${ayu_dir:-$HOME/.ayu}"
 ayu_store="${ayu_store:-$HOME/.ayu-store}"
 
 # Command to copy an entry's text into the clipboard (must accept standard input)
-clipboard="xsel -ib"
+ayu_clipboard="xsel -ib"
 
 # Path to the age(1) keys
 private_key="${private_key:-${ayu_dir}/private_key}"
@@ -30,7 +30,7 @@ cd "$ayu_store" || exit 1
 
 # Copy an entry to the clipboard
 copy() {
-	view "$2" | sed 1q | "$clipboard"
+	view "$2" | sed 1q | "$ayu_clipboard"
 }
 
 # Edit an entry if it exists