mirror of
https://github.com/jbranchaud/til
synced 2026-01-05 16:18:01 +00:00
Add Repeat Yourself as a zsh til.
This commit is contained in:
@@ -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
14
zsh/repeat-yourself.md
Normal 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
|
||||
```
|
||||
Reference in New Issue
Block a user