Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Commit

Permalink
Merge pull request #25 from rocaltair/master
Browse files Browse the repository at this point in the history
add auto completion script for shell
  • Loading branch information
jack zhao authored Jan 3, 2018
2 parents 436f2a4 + b1c6ba5 commit c60fab3
Show file tree
Hide file tree
Showing 3 changed files with 884 additions and 0 deletions.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,31 @@
# fcli
The cli of function compute.

## auto complete under shell

### for bash

run command as follows:

```
curl -s https://raw.githubusercontent.com/aliyun/fcli/master/misc/completion/fcli-completion.bash > /usr/local/etc/bash_completion.d/fcli-completion.bash
```

or checkout this repo and run command as follows:

```
source misc/completion/fcli-completion.bash
```

and then relogin

### for zsh

run command as follows:

```
curl -s https://raw.githubusercontent.com/aliyun/fcli/master/misc/completion/_fcli > /usr/local/share/zsh/site-functions/_fcli
```

and then relogin

Loading

0 comments on commit c60fab3

Please sign in to comment.