aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 4088c736714e899c49eb6e4059c444bfe630e5d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# pass-login

A [pass](https://www.passwordstore.org/) extension for extracting usernames.

The extension looks for the following fields by order:
- The second column in any line beginning with `login:`, `Login:`,
  `Username:`, `username:`.
- The path of the pass file.

## Usage

```
Usage:
    pass login [--clip,-c] pass-name
        Show existing username and optionally put it on the clipboard.
        If put on the clipboard, it will be cleared in 45 seconds.
    pass help
        Show this text.

More information may be found in the pass-login(1) man page.
```

## Installation

### Manually

```bash
git clone https://github.com/igxlin/pass-login.git
cd pass-login
sudo make install
```

### macOS

Homebrew:

```bash
brew tap igxlin/tap
brew install pass-login
```