openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From csantan...@apache.org
Subject [incubator-openwhisk] branch master updated: add workaround for inserting space on autocomplete on Mac (#2768)
Date Tue, 03 Oct 2017 01:36:06 GMT
This is an automated email from the ASF dual-hosted git repository.

csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new d131ca7  add workaround for inserting space on autocomplete on Mac (#2768)
d131ca7 is described below

commit d131ca74a9f1e0003b6e1df45875e92a40118cc9
Author: Carlos Santana <csantana23@gmail.com>
AuthorDate: Mon Oct 2 21:36:03 2017 -0400

    add workaround for inserting space on autocomplete on Mac (#2768)
---
 docs/cli.md | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/docs/cli.md b/docs/cli.md
index 92c5483..a8a3146 100644
--- a/docs/cli.md
+++ b/docs/cli.md
@@ -48,7 +48,7 @@ bash --version
 brew install bash-completion
 ```
 
-To download the bash command completion to your local directory, run the following command:
+To write the bash command completion to your local directory, run the following command:
 
 ```
 wsk sdk install bashauto
@@ -65,6 +65,11 @@ Alternatively, to install bash command completion, run the following command:
 eval "`wsk sdk install bashauto --stdout`"
 ```
 
+For Mac users, autocomplete doesn't insert space after using TAB. To workaround this, you
need to modify the output script like the following:
+```
+eval "`wsk sdk install bashauto --stdout | sed 's/-o nospace//'`"
+```
+
 **Note:** Every time a new terminal is opened, this command must run to enable bash command
completion. Alternatively, adding the previous command to the `.bashrc` or `.profile` will
prevent this.
 
 ## Using the OpenWhisk CLI

-- 
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <commits@openwhisk.apache.org>'].

Mime
View raw message