shell/fzf: add fzf-{bookmarks,history} scripts
This commit is contained in:
parent
d492a84b66
commit
faa04874a1
2
shell/fzf/aliases.zsh
Normal file
2
shell/fzf/aliases.zsh
Normal file
|
@ -0,0 +1,2 @@
|
|||
alias bm='fzf-bookmarks'
|
||||
alias hist='fzf-history'
|
4
shell/fzf/bin/fzf-bookmarks
Executable file
4
shell/fzf/bin/fzf-bookmarks
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
url="$(firefox-bookmarks | gui-fzf | sed 's/^.*, http/http/')"
|
||||
[[ $url ]] && open "$url"
|
4
shell/fzf/bin/fzf-history
Executable file
4
shell/fzf/bin/fzf-history
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
url="$(firefox-history | gui-fzf | sed 's/^.*, http/http/')"
|
||||
[[ $url ]] && open "$url"
|
Loading…
Reference in a new issue