1
0
mirror of https://github.com/kremalicious/dotfiles.git synced 2024-11-22 01:37:14 +01:00

bootstrap new machine updates

This commit is contained in:
Matthias Kretschmann 2015-07-21 01:23:09 +02:00
parent d273f3c2be
commit 515c3bb91f
5 changed files with 12 additions and 13 deletions

View File

@ -13,7 +13,7 @@
# ----------------------------------------------------------------------
for file in ~/.{bash_paths,bash_prompt,exports,aliases,inputrc,private}; do
[ -r "$file" ] && [ -f "$file" ] && source "$file"
[ -r "$file" ] && [ -f "$file" ] && source "$file"
done;
unset file;
@ -37,14 +37,14 @@ shopt -s cdspell
# * `autocd`, e.g. `**/qux` will enter `./foo/bar/baz/qux`
# * Recursive globbing, e.g. `echo **/*.txt`
for option in autocd globstar; do
shopt -s "$option" 2> /dev/null;
shopt -s "$option" 2> /dev/null;
done;
# Add tab completion for many Bash commands
if which brew > /dev/null && [ -f "$(brew --prefix)/etc/bash_completion" ]; then
source "$(brew --prefix)/etc/bash_completion";
source "$(brew --prefix)/etc/bash_completion";
elif [ -f /etc/bash_completion ]; then
source /etc/bash_completion;
source /etc/bash_completion;
fi;
# Add tab completion for SSH hostnames based on ~/.ssh/config, ignoring wildcards

View File

@ -15,7 +15,7 @@
dir=$DOTFILES_DIR
# list of files/folders to symlink in homedir
files="aliases bashrc bash_profile bash_paths bash_prompt exports gemrc gitconfig gitignore hushlogin inputrc private tm_properties generator.json npmrc bin"
files="aliases bashrc bash_profile bash_paths bash_prompt exports gemrc gitconfig gitignore hushlogin inputrc private tm_properties npmrc bin"
# ----------------------------------------------------------------------

View File

@ -1,7 +1,7 @@
#!/bin/bash
# Install Homebrew
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Make sure were using the latest Homebrew
brew update

2
npm.sh
View File

@ -3,7 +3,7 @@
# Installed from brewfile with node
# install global stuff
npm install -g bower grunt grunt-cli gulp nib stylus
npm install -g bower grunt grunt-cli gulp nib stylus sass less
# Install Keybase
# https://keybase.io/docs/command_line/installation

View File

@ -7,10 +7,9 @@ curl -sSL https://get.rvm.io | bash
rvm requirements
# Install a Ruby
rvm install 2.1.4
rvm use --default 2.1.4
rvm install 2.2.2
rvm use --default 2.2.2
rvm rubygems latest
# Install gems
gem install bundler
gem install jekyll
gem install bundler jekyll