Quick password-store browser with preview using fzf in tmux.
- password-store
- tmux 2.1+ (2.2 recommended)
- bash 4+
- fzf
Using Tmux Plugin Manager
Add the following to your list of TPM plugins in ~/.tmux.conf
:
set -g @plugin 'rafi/tmux-pass'
Hit prefix + I to fetch and source the plugin. You should now be able to use the plugin!
Clone the repo:
git clone https://github.com/rafi/tmux-pass ~/.tmux/plugins/tmux-pass
Source it in your ~/.tmux.conf
:
run-shell ~/.tmux/plugins/tmux-pass/tmux-pass.tmux
Reload tmux config by running:
tmux source-file ~/.tmux.conf
NOTE: for changes to take effect,
you'll need to source again your ~/.tmux.conf
file.
default: B
Customize how to display the pass browser. Always preceded by prefix: prefix + @pass-key
For example:
set -g @pass-key b
default: on
Copies selected password into clipboard.
For example:
set -g @pass-copy-to-clipboard on
default: 10
The size of the tmux split that will be opened.
For example:
set -g @pass-window-size 10
default: off
Show only additional information in the preview pane (e.g. login, url, etc.),
but hide the password itself.
This can be desirable in situations when you don't want bystanding people to
get a glimpse at your passwords.
For example:
set -g @pass-hide-pw-from-preview 'on'
default: off
Start with the preview pane hidden.
For example:
set -g @pass-hide-preview
This plugin is inspired by tmux-1password.
MIT