dubeejw commented on issue #2520: Prints bashauto-completion install script to 
STDOUT
URL: 
https://github.com/apache/incubator-openwhisk/pull/2520#issuecomment-320104496
 
 
   Inclined to say that `wsk sdk install autobash` should work as it currently 
does. Meaning it saves the auto-complete script in the current directory. 
Whereas if we want to use eval there should be a special flag `wsk sdk install 
autobash --stdout`. Not sure why anyone would ever want to do an eval as the 
auto-completion will vanish as soon as the terminal is closed.
   
   In order to make autocomplete work on mac whenever the terminal is opened, 
this is where the auto-complete script needs to live in 
`/usr/local/etc/bash_completion.d/wsk_cli_bash_completion.d`. We can provide a 
flag that says to save the script in such directories.
 
----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to