fish: functions: Add an alias to open bookmarks

This commit is contained in:
Sanchayan Maity 2022-12-01 10:31:23 +05:30
parent d055fa2607
commit d06e32511f
1 changed files with 6 additions and 0 deletions

View 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