diff --git a/Examples-(fish).md b/Examples-(fish).md index f1cedb7..3d38ec3 100644 --- a/Examples-(fish).md +++ b/Examples-(fish).md @@ -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 ``` \ No newline at end of file