From bc6476286b683b664709a964a0cb4227a2d71a49 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 21 Mar 2013 22:25:01 -0400 Subject: [PATCH] Make update() a script and remove unused functions --- zsh/functions | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/zsh/functions b/zsh/functions index 4f9cc191..2e31bb9c 100644 --- a/zsh/functions +++ b/zsh/functions @@ -8,14 +8,7 @@ function quick-look { (( $# > 0 )) && qlmanage -p $* &>/dev/null & } -function echoh { - echo -e "\e[0;01m\e[0;32m$1\e[00m" -} - -function indent { - sed 's/^/ /' -} - +# Extract a compressed file with the appropriate command function extract { if [ -f $1 ] ; then case $1 in @@ -35,16 +28,3 @@ function extract { echo "'$1' is not a valid file" fi } - -function update { - echoh "Updating EVERYTHING!" - sudo -v - - $SRC/../install/brew - echo - $SRC/../install/rvm - echo - $SRC/../install/vim - - echoh "All done!" -}