diff options
author | Florian Pritz <f-p@gmx.at> | 2009-02-24 22:08:27 +0100 |
---|---|---|
committer | Florian Pritz <f-p@gmx.at> | 2009-02-24 22:08:27 +0100 |
commit | 404897f8c3ce3c2e0738e6191f717bb4379ea1c4 (patch) | |
tree | fc8ee594b10a905c43208a5ab8c1d677a939d53f | |
parent | 0248538340fa980a7a48afd780789c9159055c66 (diff) | |
download | dotfiles-404897f8c3ce3c2e0738e6191f717bb4379ea1c4.tar.gz dotfiles-404897f8c3ce3c2e0738e6191f717bb4379ea1c4.tar.xz |
repeat function is already built in -> removed
-rw-r--r-- | .zsh/rc/30functions | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/.zsh/rc/30functions b/.zsh/rc/30functions index b7d0493..f2096fd 100644 --- a/.zsh/rc/30functions +++ b/.zsh/rc/30functions @@ -179,19 +179,6 @@ short_ii() { echo } -repeat() { - if [ "$1" = "" ] || [ "$2" = "" ] || [ "$1" = "-h" ]; then - echo -e "${blue}Usage:$NC repeat <number> <command>"; - echo -e "Repeats a command"; - return 1 - fi - local i max - max=$1; shift; - for ((i=1; i <= max ; i++)); do - eval "$@"; - done -} - # actually it converts any mp4 or flv to mp3... youtube2mp3() { for file in "$@" |