mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-02 12:54:39 +00:00
Fish: better quickmark functions
This commit is contained in:
parent
7a9bfb572d
commit
f0a5183b67
|
@ -1,4 +1,4 @@
|
||||||
# Defined in /tmp/fish.8eD7b7/minecraft.fish @ line 2
|
# Defined in /tmp/fish.WOu8ZA/minecraft.fish @ line 2
|
||||||
function minecraft
|
function minecraft
|
||||||
cd $D/Games/Minecraft/Game
|
cd $D/Games/Minecraft/Game
|
||||||
rm (ff -e log)
|
rm (ff -e log)
|
||||||
|
@ -8,8 +8,8 @@ function minecraft
|
||||||
echo > functions/$i.fish "function $i
|
echo > functions/$i.fish "function $i
|
||||||
minecraft -l $i; end"
|
minecraft -l $i; end"
|
||||||
end
|
end
|
||||||
for i in (cat ~/.config/qutebrowser/quickmarks)
|
for i in (cat ~/.config/qutebrowser/quickmarks | cut -d ' ' -f1)
|
||||||
echo > functions/(echo $i| awk '{print $1;}').fish function (echo $i| awk '{print $1;}') -V "i
|
echo > functions/$i.fish function $i"
|
||||||
qb (echo \"$i\"| cut -d ' ' -f2); end"
|
qb / \":quickmark-load $i\"; end"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue