mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-12-16 11:57:23 +00:00
Add repeat fish function and refactor sync script variables
This commit is contained in:
parent
dd7e7e3857
commit
3f93599ba4
2 changed files with 10 additions and 5 deletions
5
.config/fish/functions/repeat.fish
Normal file
5
.config/fish/functions/repeat.fish
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function repeat -a count -d 'Repeat the given action the given number of times'
|
||||
for i in (seq $count)
|
||||
$argv[2..-1]
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue