m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-17 07:43:39 -05:00

Add fpass

Jamie Schembri
2016-10-30 15:21:03 +01:00
parent a83469fef3
commit 042f00f41a

@@ -18,4 +18,11 @@ end
function fssh -d "Fuzzy-find ssh host and ssh into it"
ag '^host [^*]' ~/.ssh/config | cut -d ' ' -f 2 | fzf | xargs -o ssh
end
```
### LastPass CLI
```
function fpass -d "Fuzzy-find a Lastpass entry and copy the password"
lpass ls | fzf | string replace -r -a '.+\[id: (\d+)\]' '$1' | xargs lpass show -c --password
end
```