Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vy/pass-extension-copyq
A pass extension that copies a stored password using copyq.
https://github.com/vy/pass-extension-copyq
Last synced: 22 days ago
JSON representation
A pass extension that copies a stored password using copyq.
- Host: GitHub
- URL: https://github.com/vy/pass-extension-copyq
- Owner: vy
- License: apache-2.0
- Created: 2018-05-03T12:20:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T19:18:50.000Z (almost 2 years ago)
- Last Synced: 2024-10-03T13:17:02.089Z (about 1 month ago)
- Language: Shell
- Size: 6.84 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING.txt
Awesome Lists containing this project
- awesome-password-store - pass-extension-copyq
README
[![License](https://img.shields.io/github/license/vy/pass-extension-copyq.svg)](http://www.apache.org/licenses/LICENSE-2.0.txt)
# pass copyq
A [pass](https://www.passwordstore.org/) extension that copies a stored
password using [copyq](https://github.com/hluk/CopyQ) with a certain
timeout. After timeout, the clipboard is either restored to its previous
state or cleared.## Usage
```
pass copyq pass-name
```## Example
```
pass copyq email/gmail
```## Installation
1. First you have to enable `pass` extensions by setting
`PASSWORD_STORE_ENABLE_EXTENSIONS=true` environment variable.
2. Add the `copyq.bash` file to `~/.password-store/.extensions`
with executable rights.## Enabling shell auto-completion
`pass copyq` has (almost) identical shell auto-completion semantics with
`pass show`. Hence you just need to find the relevant auto-completion
file of the shell of your preference and add `copyq` option next to
`show` command.For instance, in Ubuntu GNU/Linux 16.04.4 LTS, open
`/usr/share/bash-completion/completions/pass` with a text
editor and edit the below given part```bash
show|-*)
COMPREPLY+=($(compgen -W "-c --clip" -- ${cur}))
_pass_complete_entries 1
;;
```as follows:
```bash
copyq|show|-*)
COMPREPLY+=($(compgen -W "-c --clip" -- ${cur}))
_pass_complete_entries 1
;;
```### Fish shell
```bash
fish
mkdir $__fish_config_dir/completions
cp ./completions/pass.fish $__fish_config_dir/completions
```## License
Copyright © 2018 [Volkan Yazıcı](http://vlkan.com/)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.