1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-04 23:58:01 +00:00

Add Repeat Yourself as a zsh til.

This commit is contained in:
jbranchaud
2015-06-25 08:25:44 -05:00
parent 8f6458823e
commit b57d59f35a
2 changed files with 15 additions and 0 deletions

View File

@@ -158,6 +158,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
- [Clear The Screen](zsh/clear-the-screen.md)
- [Create A File Descriptor with Process Substitution](zsh/create-a-file-descriptor-with-process-substitution.md)
- [Killing A Frozen SSH Session](zsh/killing-a-frozen-ssh-session.md)
- [Repeat Yourself](zsh/repeat-yourself.md)
- [Saying Yes](zsh/saying-yes.md)
- [Search History](zsh/search-history.md)
- [Switch Versions of a Brew Formula](zsh/switch-versions-of-a-brew-formula.md)

14
zsh/repeat-yourself.md Normal file
View File

@@ -0,0 +1,14 @@
# Repeat Yourself
Use the `repeat` command to repeat yourself. You can repeat yourself a
number of times
```
$ repeat 5 say Hello World
```
or you can repeat yourself indefinitely
```
$ repeat -1 say Hello World
```