forked from sorin-ionescu/prezto
-
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.
[Fix sorin-ionescu#117] Add documentation for ssh-agent
- Loading branch information
Showing
2 changed files
with
36 additions
and
9 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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
SSH-Agent | ||
========= | ||
|
||
Provides for an easier use of [ssh-agent][1]. | ||
|
||
Settings | ||
-------- | ||
|
||
### Agent Forwarding | ||
|
||
To enable ssh-agent forwarding, add the following line to *zshrc*: | ||
|
||
zstyle ':omz:module:ssh-agent' forwarding 'yes' | ||
|
||
### Identities | ||
|
||
To load multiple identities, add the following line to *zshrc*: | ||
|
||
zstyle ':omz:module:ssh-agent' identities 'id_rsa' 'id_rsa2' 'id_github' | ||
|
||
Authors | ||
------- | ||
|
||
*The authors of this module should be contacted via the [issue tracker][2].* | ||
|
||
- [Robby Russell](https://github.com/robbyrussell) | ||
- [Theodore Robert Campbell Jr](https://github.com/trcjr) | ||
- [Joseph M. Reagle Jr.](https://github.com/reagle) | ||
- [Florent Thoumie](https://github.com/flz) | ||
- [Jonas Pfenniger](https://github.com/zimbatm) | ||
- [Gareth Owen](https://github.com/gwjo) | ||
- [Sorin Ionescu](https://github.com/sorin-ionescu) | ||
|
||
[1]: http://www.openbsd.org/cgi-bin/man.cgi?query=ssh-agent&sektion=1 | ||
[2]: https://github.com/sorin-ionescu/oh-my-zsh/issues | ||
|
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 |
---|---|---|
|
@@ -10,15 +10,6 @@ | |
# gwjo <[email protected]> | ||
# Sorin Ionescu <[email protected]> | ||
# | ||
# Usage: | ||
# To enable agent forwarding, add the following to your .zshrc: | ||
# | ||
# zstyle ':omz:module:ssh-agent' forwarding 'yes' | ||
# | ||
# To load multiple identities, add the following to your .zshrc: | ||
# | ||
# zstyle ':omz:module:ssh-agent' identities 'id_rsa' 'id_rsa2' 'id_github' | ||
# | ||
|
||
if (( ! $+commands[ssh-agent] )); then | ||
return 1 | ||
|