Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Boldewyn/pass-sclip

A pass extension to copy to screen’s paste buffer
https://github.com/Boldewyn/pass-sclip

Last synced: 2 days ago
JSON representation

A pass extension to copy to screen’s paste buffer

Awesome Lists containing this project

README

        

# pass-sclip

A [pass](https://www.passwordstore.org/) extension to copy to [`screen`](https://www.gnu.org/software/screen/)’s paste buffer.

## Installation

Put `sclip.bash` in either of `/usr/lib/password-store/extensions` (global installation) or `~/.password-store/.extensions` (local to your user). Make sure, that:

1. `sclip.bash` is executable, and
2. that you have `PASSWORD_STORE_ENABLE_EXTENSIONS=true` exported.

## Usage

Works exactly like `pass show --clip`, but puts the password in `screen`’s paste buffer. Example:

$ pass sclip foo/bar
Copied foo/bar to screen clipboard. Will clear in 45 seconds.

Now you can use the key combo `Ctrl-a ]` to paste the password into a screen window.

The `screen` paste buffer will be cleared after the same time that `pass show --clip` uses. Use `PASSWORD_STORE_CLIP_TIME` to controll it.