https://github.com/krujos/bosh-zsh-autocompletion
Oh My Zsh plugin for BOSH autocompletion
https://github.com/krujos/bosh-zsh-autocompletion
Last synced: about 1 month ago
JSON representation
Oh My Zsh plugin for BOSH autocompletion
- Host: GitHub
- URL: https://github.com/krujos/bosh-zsh-autocompletion
- Owner: krujos
- License: apache-2.0
- Created: 2014-12-11T22:19:57.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-12-13T01:53:01.000Z (almost 11 years ago)
- Last Synced: 2024-04-16T16:22:22.544Z (over 1 year ago)
- Size: 199 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zsh-plugins - bosh (krujos) - Adds [BOSH](https://github.com/cloudfoundry/bosh) autocompletion. (Completions / ZSH on Windows)
- fucking-awesome-zsh-plugins - bosh (krujos) - Adds <b><code> 2064â</code></b> <b><code> 658đ´</code></b> [BOSH](https://github.com/cloudfoundry/bosh)) autocompletion. (Completions / ZSH on Windows)
- awesome-zsh-plugins - bosh-zsh-autocompletion - Adds BOSH autocompletion. (Completions / Zinit (nÊe zplugin))
README
bosh-zsh-autocompletion
=======================
Oh My Zsh (or probably any zsh but YMMV) plugin for BOSH autocompletion.
See the know issues below for what doesn't work.
Installation
============
Drop the ```bosh``` directory into your ```$ZSH/custom/plugins/``` (usually ```~/.oh-my-zsh/custom/plugins```) directory. Then add bosh to the plugins line of your ```.zshrc``` file. For example here's my ```.zshrc``` plugin lines
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git docker jsontools tmux vagrant bosh)
#Example
Type ```bosh ``` and watch the magic happen
Last login: Thu Dec 11 16:42:19 on ttys002
â ~ bosh ......
add generate ssh
alias get start
aliases help status
backup import stemcells
blobs init stop
cancel locks sync
cleanup login take
cloudcheck logout target
complete logs targets
create properties task
delete public tasks
deploy recreate unset
deployment releases upload
deployments rename validate
destination_directory reset verify
diff restart version
download run vm
edit scp vms
errands set
export snapshots
â ~ bosh de
delete deployment destination_directory
deploy deployments
â ~ bosh delete
deployment release snapshot snapshots stemcell user
â ~ bosh delete s
snapshot snapshots stemcell
#Known Issues
It's crazy slow with the AWS plugin installed. This is a BOSH thing, on my laptop it takes ~9s to output the help. Thankfully we cache it once per terminal session. If you were to upgrade the gem and the usage changed this will cause a problem. Restart your shell and you'll be good to go.
```destination_directory``` shows up when it shouldn't because of the way the CLI for ```run_errand``` wraps the help for the command. Not sure if this is a bug in the CLI or if I should workaround it.
run errand [] [--download-logs] [--logs-dir
destination_directory] [--keep-alive]``
#Problems?
Open an issue or submit a PR please!