forked from ohmyzsh/ohmyzsh
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: improve several plugin READMEs and add one for
ssh
plugin
- Loading branch information
Showing
23 changed files
with
123 additions
and
90 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
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
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
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
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
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
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
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
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
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
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
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
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
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,16 +1,12 @@ | ||
# Spring Boot oh-my-zsh plugin | ||
oh-my-zsh Spring Boot plugin | ||
|
||
## Spring Boot autocomplete plugin | ||
Adds autocomplete options for all [Spring Boot](https://spring.io/projects/spring-boot) commands. | ||
|
||
- Adds autocomplete options for all spring boot commands. | ||
To use it, add `spring` to the plugins array in your zshrc file: | ||
|
||
## Manual Install | ||
|
||
$ cd ~/.oh-my-zsh/plugins | ||
$ git clone [email protected]:linux-china/oh-my-zsh-spring-boot-plugin.git spring | ||
|
||
Adjust your .zshrc file and add spring to plugins=(...) | ||
```zsh | ||
plugins=(... spring) | ||
``` | ||
|
||
## Tips | ||
|
||
|
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 |
---|---|---|
@@ -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. |
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
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
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,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 <[email protected]>** | ||
|
||
## 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 <[email protected]> | ||
```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]%}○" | ||
``` |
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
Oops, something went wrong.