From 404897f8c3ce3c2e0738e6191f717bb4379ea1c4 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 24 Feb 2009 22:08:27 +0100 Subject: repeat function is already built in -> removed --- .zsh/rc/30functions | 13 ------------- 1 file changed, 13 deletions(-) (limited to '.zsh') 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 "; - 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 "$@" -- cgit v1.2.3-24-g4f1b