Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 878 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 878 Bytes

Script to get a password from pass through tmux, using fzf

To use:

Clone the repo:

git clone https://github.com/hughdavenport/passmux

Create keybinding tmux:

bind-key    -T prefix C-p              run-shell "~/passmux/passmux --type"

Make sure you have tmux, fzf and keychain installed, or edit the script to suit.

Make sure keychain knows about your gpg key (ie in your bashrc, zshrc, etc).

Run ssh-add or similar, then hit prefix C-p, then select the password, then enter in GPG passphrase. It should type to current pane.

Remove the --type option in the binding to copy to clipboard.

This was adapted from the contrib passmenu script for dmenu integration.

Copyright

©2016 Hugh Davenport, All The Things Ltd under MIT license