2 ms·Untested for that specific command, but in Zsh this should work: timeout 10 ${aliases[my_alias]}by latexr 2y agoUntested for that specific command, but in Zsh this should work: timeout 10 ${aliases[my_alias]}