update install files
* correct bad paths in install.sh (thanks @pidgypost) * update brew install script * update nvm installation to work correctly fixes #6 and fixes #7
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
if test ! $(which brew); then
|
||||
echo "Installing homebrew"
|
||||
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||
fi
|
||||
|
||||
echo "Installing homebrew packages..."
|
||||
|
||||
# cli tools
|
||||
brew install ack
|
||||
brew install tree
|
||||
@@ -20,3 +27,5 @@ brew install highlight
|
||||
brew install nvm
|
||||
brew install z
|
||||
brew install markdown
|
||||
|
||||
exit 0
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
DOTFILES=$HOME/.dotfiles
|
||||
|
||||
echo "creating symlinks"
|
||||
linkables=$( ls -1 -d **/*.symlink )
|
||||
linkables=$( find -H "$DOTFILES" -maxdepth 3 -name '*.symlink' )
|
||||
for file in $linkables ; do
|
||||
target="$HOME/.$( basename $file ".symlink" )"
|
||||
echo "creating symlink for $file"
|
||||
|
||||
7
install/nvm.sh
Executable file
7
install/nvm.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# reload nvm into this environment
|
||||
source $(brew --prefix nvm)/nvm.sh
|
||||
|
||||
nvm install stable
|
||||
nvm alias default stable
|
||||
Reference in New Issue
Block a user