1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-06 07:20:40 +01:00

docs: improve several plugin READMEs and add one for ssh plugin

This commit is contained in:
Marc Cornellà
2024-08-09 09:44:46 +02:00
parent fccaaf2fc6
commit efafef8495
23 changed files with 124 additions and 91 deletions

16
plugins/ssh/README.md Normal file
View File

@@ -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.