mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-17 07:43:39 -05:00
Improve fpass to attempt login if necessary
@@ -23,6 +23,14 @@ end
|
||||
### LastPass CLI
|
||||
```
|
||||
function fpass -d "Fuzzy-find a Lastpass entry and copy the password"
|
||||
if not lpass status -q
|
||||
lpass login $EMAIL
|
||||
end
|
||||
|
||||
if not lpass status -q
|
||||
exit
|
||||
end
|
||||
|
||||
lpass ls | fzf | string replace -r -a '.+\[id: (\d+)\]' '$1' | xargs lpass show -c --password
|
||||
end
|
||||
```
|
||||
Reference in New Issue
Block a user