all repos — scriptura @ 454c7b400a30932e6a92a09fe36f66186b8b5fe5

a corner in $HOME for your scripts

functions/__scriptura_desc.fish (view raw)

1
2
3
function __scriptura_desc --description 'Extract description from script file' --argument-names file
    string match --groups-only --regex '^#\s*([^!].*)$' <$file | string join "\n"
end