docs: update

This commit is contained in:
Dylan Araps 2019-11-29 20:55:43 +00:00
parent aa14500a5d
commit ac95702dd4
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
2 changed files with 12 additions and 0 deletions

View File

@ -28,6 +28,7 @@ pash
* [How do I rename an entry?](#how-do-i-rename-an-entry)
* [How can I extend `pash`?](#how-can-i-extend-pash)
* [How do I change the clipboard tool?](#how-do-i-change-the-clipboard-tool)
* [How do I change the password generation pattern?](#how-do-i-change-the-password-generation-pattern)
* [How can I migrate from `pass` to `pash`?](#how-can-i-migrate-from-pass-to-pash)
<!-- vim-markdown-toc -->
@ -62,6 +63,7 @@ OPTIONS
Using a key pair: export PASH_KEYID=XXXXXXXX
Password length: export PASH_LENGTH=50
Password pattern: export PASH_PATTERN=_A-Z-a-z-0-9
Store location: export PASH_DIR=~/.local/share/pash
Clipboard tool: export PASH_CLIP='xclip -selection clipboard'
```
@ -155,6 +157,15 @@ Set the environment variable `PASH_CLIP` to a command.
export PASH_CLIP='xclip -selection clipboard'
```
### How do I change the password generation pattern?
Set the environment variable `PASH_PATTERN` to a valid `tr` string.
```sh
# Default: '_A-Z-a-z-0-9'.
export PASH_PATTERN=_A-Z-a-z-0-9
```
### How can I migrate from `pass` to `pash`?
I cannot guarantee 100% compatibility with the stores from `pass` and other tools, however users have reported that `pash` does in fact work fine with `pass`' store.

1
pash
View File

@ -114,6 +114,7 @@ pash 2.0.1 - simple password manager.
Using a key pair: export PASH_KEYID=XXXXXXXX
Password length: export PASH_LENGTH=50
Password pattern: export PASH_PATTERN=_A-Z-a-z-0-9
Store location: export PASH_DIR=~/.local/share/pash
Clipboard tool: export PASH_CLIP='xclip -selection clipboard'
"