mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-17 15:53:39 -05:00
Add fpass
@@ -18,4 +18,11 @@ end
|
|||||||
function fssh -d "Fuzzy-find ssh host and ssh into it"
|
function fssh -d "Fuzzy-find ssh host and ssh into it"
|
||||||
ag '^host [^*]' ~/.ssh/config | cut -d ' ' -f 2 | fzf | xargs -o ssh
|
ag '^host [^*]' ~/.ssh/config | cut -d ' ' -f 2 | fzf | xargs -o ssh
|
||||||
end
|
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
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user