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:
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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue