docs: update

This commit is contained in:
Dylan Araps 2019-11-29 18:01:44 +00:00
parent 107ed3c611
commit 6780a6a58a
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 14 additions and 0 deletions

View File

@ -28,6 +28,7 @@ pash
* [How do I rename an entry?](#how-do-i-rename-an-entry) * [How do I rename an entry?](#how-do-i-rename-an-entry)
* [How can I extend `pash`?](#how-can-i-extend-pash) * [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 clipboard tool?](#how-do-i-change-the-clipboard-tool)
* [How can I migrate from `pass` to `pash`?](#how-can-i-migrate-from-pass-to-pash)
<!-- vim-markdown-toc --> <!-- vim-markdown-toc -->
@ -146,3 +147,16 @@ Set the environment variable `PASH_CLIP` to a command.
# Default: 'xclip -selection clipboard'. # Default: 'xclip -selection clipboard'.
export PASH_CLIP='xclip -selection clipboard' export PASH_CLIP='xclip -selection clipboard'
``` ```
### 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.
Add the following to your `.shellrc` or `.profile`.
```
read -r PASH_KEYID < "$PASH_DIR/.gpg-id"
export PASH_DIR=${PASSWORD_STORE_DIR:-$HOME/.password-store}
export PASH_KEYID
```