Made setup not automatically do all that brew stuff.
This commit is contained in:
parent
051d9c3bd5
commit
5176a24540
@ -1,6 +1,5 @@
|
||||
#!/bin/bash
|
||||
cd "$(dirname "${BASH_SOURCE}")"
|
||||
git pull
|
||||
function doIt() {
|
||||
rsync --exclude "oh-my-zsh" --exclude "tmux-powerline" --exclude ".git/" --exclude ".DS_Store" --exclude "bootstrap.sh" --exclude "README.md" --exclude "setup.sh" -av . ~
|
||||
}
|
||||
|
13
setup.sh
13
setup.sh
@ -1,10 +1,9 @@
|
||||
#!/bin/bash
|
||||
# Go to the source directory of this script.
|
||||
cd "$(dirname "${BASH_SOURCE}")"
|
||||
sudo -v
|
||||
source bootstrap.sh
|
||||
|
||||
case `uname` in
|
||||
function install_essentials() {
|
||||
case `uname` in
|
||||
'Darwin')
|
||||
hash gcc &>/dev/null
|
||||
if [ $? -ne 0 ]
|
||||
@ -37,8 +36,14 @@ case `uname` in
|
||||
*)
|
||||
echo "Operating System not recognized; aborting."
|
||||
exit
|
||||
esac
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
sudo -v
|
||||
echo "Installing Dot Files."
|
||||
source bootstrap.sh
|
||||
[ "$1" == "--install" -o "$1" == "-i" ] && install_essentials
|
||||
echo "Installing Tmux Configuration."
|
||||
tmux-powerline/generate_conf.sh
|
||||
echo "Installing oh-my-zsh."
|
||||
|
Loading…
Reference in New Issue
Block a user