diff --git a/README.md b/README.md index ea9b20d..0a777fe 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ## Prerequisites ### Centos -`yum install git which zip unzip ruby -y` +`yum install git which zip unzip ruby sudo -y` ## Setup ``` diff --git a/dot_scripts/bootstrap.sh b/dot_scripts/bootstrap.sh index 4c4a873..ee98b13 100755 --- a/dot_scripts/bootstrap.sh +++ b/dot_scripts/bootstrap.sh @@ -1,5 +1,6 @@ # Make sure Code directory exists mkdir -p ~/Code +ln -snf ~/Code/dotfiles/dot_scripts ~/.scripts chmod +x ~/.scripts/*.sh # Install missing package (Linux) @@ -22,8 +23,8 @@ case "$(uname -s)" in Linux) echo 'Linux' git clone https://github.com/Homebrew/brew ~/.linuxbrew/Homebrew - mkdir ~/.linuxbrew/bin - ln -s ../Homebrew/bin/brew ~/.linuxbrew/bin + mkdir -p ~/.linuxbrew/bin + ln -snf ../Homebrew/bin/brew ~/.linuxbrew/bin eval $(~/.linuxbrew/bin/brew shellenv) ;; *)