You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2017/11/02 16:08:06 UTC

[GitHub] csantanapr opened a new issue #2924: Add more instructions for autocomplete on mac _get_comp_words_by_ref: command not found

csantanapr opened a new issue #2924: Add more instructions for autocomplete on mac _get_comp_words_by_ref: command not found
URL: https://github.com/apache/incubator-openwhisk/issues/2924
 
 
   I worked with an user that was constantly getting the following error when doing `wsk TAB`
   ```
   _get_comp_words_by_ref: command not found
   ```
   It looks that for Mac users in addition of installing the bash-completion
   ```
   brew install bash-completion
   ```
   The user also have to configure bash-completion package in their `~/.bash_profile` if they have one of in the `~/.profile`
   By adding the following
   ```
   if [ -f $(brew --prefix)/etc/bash_completion ]; then
       . $(brew --prefix)/etc/bash_completion
   fi
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services