Skip to content

Commit

Permalink
general: .irbrc added and .gitconfig improved
Browse files Browse the repository at this point in the history
  • Loading branch information
caio committed Jan 7, 2009
1 parent 9364417 commit ae715b7
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 20 deletions.
45 changes: 25 additions & 20 deletions .gitconfig
Original file line number Diff line number Diff line change
@@ -1,30 +1,35 @@
[user]
name = Caio Romão
email = caioromao@gmail.com
name = Caio Romão
email = caioromao@gmail.com

[alias]
ci = commit
co = checkout
st = status
br = branch
ci = commit
co = checkout
st = status
br = branch
logg = log --pretty=oneline
loga = log --pretty=format:'%Cblue %h %Cgreen %an %Creset %s'

[core]
editor = vim

[color]
branch = auto
diff = auto
status = auto
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
added = yellow
changed = green
untracked = cyan

[url "git@github.com:caio/"]
insteadOf = github:
11 changes: 11 additions & 0 deletions .irbrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
require 'pp'
require 'rubygems'
require 'wirble'
Wirble.init
Wirble.colorize

IRB.conf[:AUTO_INDENT] = true
IRB.conf[:USE_READLINE] = true
IRB.conf[:SAVE_HISTORY] = 1000
IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb_history"
IRB.conf[:PROMPT_MODE] = :SIMPLE

0 comments on commit ae715b7

Please sign in to comment.