From 94badc83999391c45b3d75caf66b760342aa2720 Mon Sep 17 00:00:00 2001 From: Warren Spits Date: Thu, 16 Jun 2016 23:30:30 +1000 Subject: [PATCH] Added support for lemonade --- README.md | 3 ++- scripts/helpers.sh | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dcb259c..868813d 100644 --- a/README.md +++ b/README.md @@ -43,10 +43,11 @@ binding in copy mode. In `v2.0.0` this key binding was changed to `Y` (shift-y). #### Linux requirements -- `xclip` OR `xsel` command
+- `xclip` OR `xsel` OR `lemonade` command
You most likely already have one of them, but if not: - Debian / Ubuntu: `$ sudo apt-get install xclip` or `$ sudo apt-get install xsel` - Red hat / CentOS: `$ yum install xclip` or `$ yum install xsel` + - Instructions for installing `lemonade` are [here](https://github.com/pocke/lemonade) #### Cygwin requirements diff --git a/scripts/helpers.sh b/scripts/helpers.sh index 88fff4f..69466ea 100644 --- a/scripts/helpers.sh +++ b/scripts/helpers.sh @@ -118,6 +118,8 @@ clipboard_copy_command() { echo "xsel -i --$xsel_selection" elif command_exists "putclip"; then # cygwin clipboard command echo "putclip" + elif command_exists "lemonade"; then + echo "lemonade copy" elif [ -n "$(custom_copy_command)" ]; then echo "$(custom_copy_command)" fi