parent
fccaaf2fc6
commit
efafef8495
23 changed files with 123 additions and 90 deletions
@ -0,0 +1,16 @@ |
||||
# ssh plugin |
||||
|
||||
This plugin provides host completion based off of your `~/.ssh/config` file, and adds |
||||
some utility functions to work with SSH keys. |
||||
|
||||
To use it, add `ssh` to the plugins array in your zshrc file: |
||||
|
||||
```zsh |
||||
plugins=(... ssh) |
||||
``` |
||||
|
||||
## Functions |
||||
|
||||
- `ssh_rmhkey`: remove host key from known hosts based on a host section name from `.ssh/config`. |
||||
- `ssh_load_key`: load SSH key into agent. |
||||
- `ssh_unload_key`: remove SSH key from agent. |
||||
@ -1,6 +1,33 @@ |
||||
# vagrant-prompt |
||||
|
||||
This plugin prompts the status of the Vagrant VMs. It supports single-host and |
||||
multi-host configurations as well. |
||||
|
||||
Look inside the source for documentation about custom variables. |
||||
To use it, add `vagrant-prompt` to the plugins array in your zshrc file: |
||||
|
||||
```zsh |
||||
plugins=(... vagrant-prompt) |
||||
``` |
||||
|
||||
**Alberto Re <alberto.re@gmail.com>** |
||||
|
||||
## Usage |
||||
|
||||
To display Vagrant info on your prompt add the `vagrant_prompt_info` to the |
||||
`$PROMPT` or `$RPROMPT` variable in your theme. Example: |
||||
|
||||
```zsh |
||||
PROMPT='%{$fg[$NCOLOR]%}%B%n%b%{$reset_color%}:%{$fg[blue]%}%B%c/%b%{$reset_color%} $(vagrant_prompt_info)$(svn_prompt_info)$(git_prompt_info)%(!.#.$) ' |
||||
``` |
||||
|
||||
`vagrant_prompt_info` makes use of some custom variables. This is an example |
||||
definition: |
||||
|
||||
Alberto Re <alberto.re@gmail.com> |
||||
```zsh |
||||
ZSH_THEME_VAGRANT_PROMPT_PREFIX="%{$fg_bold[blue]%}[" |
||||
ZSH_THEME_VAGRANT_PROMPT_SUFFIX="%{$fg_bold[blue]%}]%{$reset_color%} " |
||||
ZSH_THEME_VAGRANT_PROMPT_RUNNING="%{$fg_no_bold[green]%}●" |
||||
ZSH_THEME_VAGRANT_PROMPT_POWEROFF="%{$fg_no_bold[red]%}●" |
||||
ZSH_THEME_VAGRANT_PROMPT_SUSPENDED="%{$fg_no_bold[yellow]%}●" |
||||
ZSH_THEME_VAGRANT_PROMPT_NOT_CREATED="%{$fg_no_bold[white]%}○" |
||||
``` |
||||
|
||||
@ -1,7 +1,7 @@ |
||||
# Yii2 autocomplete plugin |
||||
|
||||
* Adds autocomplete commands and subcommands for yii. |
||||
Adds autocomplete commands and subcommands for [yii](https://www.yiiframework.com/). |
||||
|
||||
## Requirements |
||||
|
||||
Autocomplete works from directory where your `yii` file contains. |
||||
Autocomplete works from directory where your `yii` file is contained. |
||||
|
||||
Loading…
Reference in new issue