mirror of
https://github.com/kremalicious/dotfiles.git
synced 2024-12-22 09:13:22 +01:00
bootstrap new machine updates
This commit is contained in:
parent
d273f3c2be
commit
515c3bb91f
10
bash_profile
10
bash_profile
@ -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
|
||||
@ -67,4 +67,4 @@ eval "$(grunt --completion=bash)"
|
||||
export PATH="$PATH:$HOME/.rvm/bin"
|
||||
|
||||
# Load RVM into a shell session *as a function*
|
||||
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
|
||||
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
|
||||
|
@ -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"
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
|
2
brew.sh
2
brew.sh
@ -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 we’re using the latest Homebrew
|
||||
brew update
|
||||
|
4
npm.sh
4
npm.sh
@ -3,9 +3,9 @@
|
||||
# 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
|
||||
npm install -g keybase-installer
|
||||
keybase-installer
|
||||
keybase-installer
|
||||
|
Loading…
Reference in New Issue
Block a user