Make update() a script and remove unused functions

This commit is contained in:
Henrik Lissner 2013-03-21 22:25:01 -04:00
parent 2e10aa8b9c
commit bc6476286b

View file

@ -8,14 +8,7 @@ function quick-look {
(( $# > 0 )) && qlmanage -p $* &>/dev/null & (( $# > 0 )) && qlmanage -p $* &>/dev/null &
} }
function echoh { # Extract a compressed file with the appropriate command
echo -e "\e[0;01m\e[0;32m$1\e[00m"
}
function indent {
sed 's/^/ /'
}
function extract { function extract {
if [ -f $1 ] ; then if [ -f $1 ] ; then
case $1 in case $1 in
@ -35,16 +28,3 @@ function extract {
echo "'$1' is not a valid file" echo "'$1' is not a valid file"
fi fi
} }
function update {
echoh "Updating EVERYTHING!"
sudo -v
$SRC/../install/brew
echo
$SRC/../install/rvm
echo
$SRC/../install/vim
echoh "All done!"
}