1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-28 09:33:30 +00:00

Fish: better quickmark functions

This commit is contained in:
Phantop 2019-05-15 16:22:32 -04:00
parent 7a9bfb572d
commit f0a5183b67

View file

@ -1,4 +1,4 @@
# Defined in /tmp/fish.8eD7b7/minecraft.fish @ line 2
# Defined in /tmp/fish.WOu8ZA/minecraft.fish @ line 2
function minecraft
cd $D/Games/Minecraft/Game
rm (ff -e log)
@ -8,8 +8,8 @@ function minecraft
echo > functions/$i.fish "function $i
minecraft -l $i; end"
end
for i in (cat ~/.config/qutebrowser/quickmarks)
echo > functions/(echo $i| awk '{print $1;}').fish function (echo $i| awk '{print $1;}') -V "i
qb (echo \"$i\"| cut -d ' ' -f2); end"
for i in (cat ~/.config/qutebrowser/quickmarks | cut -d ' ' -f1)
echo > functions/$i.fish function $i"
qb / \":quickmark-load $i\"; end"
end
end