This repository has been archived by the owner on Feb 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from rocaltair/master
add auto completion script for shell
- Loading branch information
Showing
3 changed files
with
884 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
Oops, something went wrong.