alias and function call
mupdf
is a program to display pdf documents but it can only be called with a single document.
I tried to define an alias mupdf
where I want to be able to specify more than a single document, like this: mupdf x.pdf y.pdf
fn _mupdf files:[str]
for f in files
mupdf $f
end
end
alias 'mupdf' = _mupdf
Of course, this does not work. How could I make this working? Thanks.