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