Add pryrc, a font and update TERM env

This commit is contained in:
Michael Campagnaro 2013-03-20 12:50:02 -04:00
parent 323f3d3764
commit 65a82734f1
3 changed files with 11 additions and 1 deletions

8
.pryrc Normal file
View File

@ -0,0 +1,8 @@
require 'rails/application/route_inspector'
def display_routes
Rails.application.reload_routes!
routes = Rails.application.routes.routes
inspector = Rails::Application::RouteInspector.new
puts inspector.format(routes, ENV['CONTROLLER']).join "\n"
end

4
.zshrc
View File

@ -27,11 +27,13 @@ export PATH=/usr/local/sbin:/usr/local/bin:${PATH}
export PATH="$HOME/bin:$PATH"
# Unbreak broken, non-colored terminal
export TERM=xterm-256color
alias ls='ls -G'
alias ll='ls -lG'
alias l='ls -laG'
alias duh='du -csh'
export GREP_OPTIONS="-nRi --color --exclude-dir=tmp --exclude-dir=log --exclude-dir=public --exclude-dir=vendor/assets --exclude-dir=fonts --exclude-dir=images"
export GREP_OPTIONS="-nRi --color --exclude-dir=tmp --exclude-dir=log --exclude-dir=public --exclude-dir=vendor/assets --exclude-dir=fonts --exclude-dir=images --exclude-dir=coverage"
# Unbreak history
export HISTSIZE=10000

Binary file not shown.