From c740515df47d7af00f512700237584de2bef1e69 Mon Sep 17 00:00:00 2001 From: Xtreak Date: Wed, 18 Feb 2015 11:32:19 +0530 Subject: [PATCH] Added clarification to use bash Some linux distros have sh symlinked to dash. So I have added a clarification to use bash for the distros. --- README.mkd | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.mkd b/README.mkd index d7e8279..ce5d9e3 100644 --- a/README.mkd +++ b/README.mkd @@ -8,6 +8,12 @@ $ sh ~/.zsh-autosuggestions/install ``` +On some linux distributions like ubuntu and debian sh is symlinked to /bin/dash and causes an installation error since the installation script needs some bash features. If sh is symlinked to dash, please run it with the bash : + +` +bash ~/.zsh-autosuggestions/install +` + Any widget that moves the cursor to the right(forward-word, forward-char...) will accept parts of the suggested text. For example, vi-mode users can do this: