Make update() a script and remove unused functions
This commit is contained in:
parent
2e10aa8b9c
commit
bc6476286b
|
@ -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!"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue