Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

general: .irbrc added and .gitconfig improved

  • Loading branch information...
commit ae715b76b108bf645dd376d4f98fb38db95834f9 1 parent 9364417
@caio authored
Showing with 36 additions and 20 deletions.
  1. +25 −20 .gitconfig
  2. +11 −0 .irbrc
View
45 .gitconfig
@@ -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:
View
11 .irbrc
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.