about summary refs log tree commit diff stats
path: root/ayu
diff options
context:
space:
mode:
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