dotfiles/.config/fish/functions/repeat.fish

6 lines
139 B
Fish

function repeat -a count -d 'Repeat the given action the given number of times'
for i in (seq $count)
$argv[2..-1]
end
end