mirror of
https://github.com/danhper/fish-ssh-agent.git
synced 2025-12-13 17:34:59 +00:00
Restructurize and update readme.
This commit is contained in:
32
README.md
32
README.md
@@ -4,24 +4,24 @@ Utility functions to start your ssh agent when using fish shell.
|
||||
You will only need to run `ssh-add` and type your password once,
|
||||
after the running ssh_agent should do the work for you.
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```fish
|
||||
fish-ssh-agent
|
||||
```
|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
### Using [fundle](https://github.com/tuvistavie/fundle) (recommended)
|
||||
|
||||
Add
|
||||
|
||||
```
|
||||
fundle plugin 'tuvistavie/fish-ssh-agent'
|
||||
```fish
|
||||
git clone https://.../fish-ssh-agent
|
||||
source fish-ssh-agent/install.fish
|
||||
```
|
||||
|
||||
to your `config.fish`, reload your shell and run `fundle install`.
|
||||
or
|
||||
|
||||
### Using [Fisherman](https://github.com/fisherman/fisherman)
|
||||
|
||||
fisher install tuvistavie/fish-ssh-agent
|
||||
|
||||
|
||||
### Manually
|
||||
|
||||
Put `functions/__ssh_agent_start` your `~/.config/fish/functions` directory,
|
||||
and source `init.fish` on startup.
|
||||
```sh
|
||||
git clone https://.../fish-ssh-agent
|
||||
cp fish-ssh-agent/functions/* ~/.config/fish/functions
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user