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

this & that

This commit is contained in:
Matthias Kretschmann 2014-07-21 11:54:15 +02:00
parent 06696a943a
commit 5fccb47b55
4 changed files with 19 additions and 12 deletions

1
brew
View File

@ -10,6 +10,7 @@ brew update
brew upgrade brew upgrade
# Install what we need # Install what we need
brew install bash
brew install bash-completion brew install bash-completion
brew install git brew install git
brew install node brew install node

View File

@ -43,6 +43,12 @@
# a.k.a. delete merged # a.k.a. delete merged
dm = "!git branch --merged | grep -v '\\*' | xargs -n 1 git branch -d" dm = "!git branch --merged | grep -v '\\*' | xargs -n 1 git branch -d"
[fetch]
prune = true
[push]
default = matching
[color] [color]
diff = auto diff = auto
status = auto status = auto
@ -63,19 +69,17 @@
changed = yellow bold changed = yellow bold
untracked = red untracked = red
[push] # Set Kaleidoscope as diff and merge tool
default = matching
[difftool "Kaleidoscope"]
cmd = ksdiff --partial-changeset --relative-path \"$MERGED\" -- \"$LOCAL\" \"$REMOTE\"
[diff] [diff]
tool = Kaleidoscope tool = Kaleidoscope
[difftool] [difftool]
prompt = false prompt = false
[mergetool "Kaleidoscope"] [difftool "Kaleidoscope"]
cmd = ksdiff --merge --output \"$MERGED\" --base \"$BASE\" -- \"$LOCAL\" --snapshot \"$REMOTE\" --snapshot cmd = ksdiff --partial-changeset --relative-path \"$MERGED\" -- \"$LOCAL\" \"$REMOTE\"
trustExitCode = true [merge]
tool = Kaleidoscope
[mergetool] [mergetool]
prompt = false prompt = false
[merge] [mergetool "Kaleidoscope"]
tool = Kaleidoscope cmd = ksdiff --merge --output \"$MERGED\" --base \"$BASE\" -- \"$LOCAL\" --snapshot \"$REMOTE\" --snapshot
trustExitCode = true

2
npmrc
View File

@ -3,4 +3,6 @@
#registry = http://registry.npmjs.eu #registry = http://registry.npmjs.eu
# Make npm less noisy # Make npm less noisy
# If only it would work...
# https://github.com/npm/npm/issues/4186
loglevel = warn loglevel = warn

4
ruby
View File

@ -4,8 +4,8 @@
curl -sSL https://get.rvm.io | bash curl -sSL https://get.rvm.io | bash
# Install a Ruby # Install a Ruby
rvm install 2.1.0 rvm install 2.1.1
rvm use 2.1.0 rvm use 2.1.1
rvm rubygems latest rvm rubygems latest
# Install gems # Install gems