m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-19 00:53:42 -05:00

Updated Examples (fish) (markdown)

Matthieu MN
2019-08-29 23:59:55 +02:00
parent 1f3761c5ce
commit 0d204c3b08

@@ -135,3 +135,17 @@ function fpass -d "Fuzzy-find a Lastpass entry and copy the password"
lpass ls | fzf | string replace -r -a '.+\[id: (\d+)\]' '$1' | read -l result; and lpass show -c --password "$result"
end
```
### Vscode
```
set -gx vscode_path "$HOME/.config/VScodium"
set -gx vscode_command "codium"
function vsr -d "List recently opened files with vscode"
codium (\
rg -o --no-line-number '"path": "/.*[^/]"' "$vscode_path/storage.json" \
| string replace -a '"path": ' '' \
| string trim -c '"'\
| fzf )
end
```