diff --git a/.config/fish/functions/minecraft.fish b/.config/fish/functions/minecraft.fish index 48078e1..6e27e9a 100644 --- a/.config/fish/functions/minecraft.fish +++ b/.config/fish/functions/minecraft.fish @@ -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