dotfiles/.config/fish/functions/justfmt.fish

6 lines
148 B
Fish

function justfmt --description "STDIO Justfile formatter"
set -l temp (mktemp)
cat >$temp
just --justfile $temp --dump
rm $temp
end