fish: functions: Add an alias to open bookmarks
This commit is contained in:
parent
d055fa2607
commit
d06e32511f
1 changed files with 6 additions and 0 deletions
6
fish/.config/fish/functions/bo.fish
Normal file
6
fish/.config/fish/functions/bo.fish
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
function bo --description "Open a bookmark saved by qutebrowser"
|
||||||
|
set url (cat ~/.config/qutebrowser/bookmarks/urls | fzf | awk -F" " '{print $1}')
|
||||||
|
if test -n "$url"
|
||||||
|
qutebrowser $url
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue